User Image

User Image

Function: a!userImage()

Displays a user's profile photo for use in an image field, rich text field, tree browser field, billboard layout or grid column in a Read-Only Grid.

Parameters

Name Keyword Types Description

User

user

User

The user whose profile photo will be shown.

Alternate Text

altText

Text

Alternate text of the image used for the image's alt attribute and read by screen readers; see accessibility considerations for more information.

Caption

caption

Text

Text to display in mouseovers.

Link

link

Link

Link that determines the behavior of an image when clicked. Create links with a!authorizationLink(), a!documentDownloadLink(), a!dynamicLink(), a!newsEntryLink(), a!processTaskLink(), a!recordLink(), a!reportLink(), a!startProcessLink(), a!submitLink(), a!userRecordLink(), and a!safeLink().

Visibility

showWhen

Boolean

Determines whether the image is displayed in the component. When set to false, the image is hidden and is not evaluated. Default: true.

Notes

  • When no User is provided, the default profile picture is shown.

The following patterns include usage of the User Image.

  • Event Timeline (Timeline, Events): Use the event timeline pattern to display a dated list of events and actions in chronological order. This pattern uses a combination of cards, rich text, and user images to show an easy to navigate list of dated events.

  • Leaderboard (Looping): Use the leaderboard pattern to show a selection of your data in an easy to read ranked display.

  • User List Pattern (Looping): The user list pattern retrieves all the users in a specified group and displays them in a single column.

Open in Github Built: Thu, Feb 23, 2023 (02:59:22 PM)

On This Page

FEEDBACK