The Avatar Field is used to display an image, text, or an icon. This field is generally used to display a user’s profile picture for their account.
If the field is configured to display an image, the user can upload their own image to display. This image can also be set as the workspace icon, ensuring a consistent appearance between the avatar and the workspace icon. If no image is uploaded, a default avatar type can be set as a fallback.
The avatar’s size, roundness, fill, border, and font size (for text avatars) can be customized.
Avatar Type
Determines the type of avatar that will be used.
The icon type displays an icon from Font Awesome, the image type displays an uploaded image, and the text type displays text.
Icon Font Awesome Class
Only applicable when “Avatar Type” or “Default Avatar Type” is set to “Icon”.
Determines what font awesome icon will be displayed.
For example, if using Font Awesome’s solid user icon, fa-solid fa-user would be entered in this Field.
Storage Location
Only applicable when “Avatar Type” is set to “Image”.
Determines what storage location the images will be uploaded to.
Max File Size (MB)
Only applicable when “Avatar Type” is set to “Image”.
Determines what the max file size that can be uploaded in MB is.
Use Uploaded File as Workspace Icon
Only applicable when “Avatar Type” is set to “Image”.
If you’re using Workspace Cards, then you can set this to “Yes” to have the file that’s uploaded be used as the image on the card for this workspace. This also means that if the uploaded file is cleared, so will the workspace card icon. The workspace card icon will be synced with the file that is uploaded to this field.
The file will only be used for the workspace card if the storage location is public and workspace cards are being used. If any of these conditions are not met and this field is set to “Yes”, errors will be added to Application Logs.
It is only recommended to have a single field that syncs with the workspace icon.
Default Avatar Type
Only applicable when “Avatar Type” is set to “Image”.
Determines what the default avatar type will be if no image is uploaded.
The icon type displays an icon from Font Awesome, the image type displays an image at a specific URL, and the text type displays text.
Default Image URL
Only applicable when “Default Avatar Type” is set to “Image”.
Determines what image at a specific URL will be displayed when no custom image has been uploaded by the user.
Font Size (px)
Only applicable when “Avatar Type” or “Default Avatar Type” is set to “Text”.
Determines the size of the font in pixels.
Text Type
Only applicable when “Avatar Type” or “Default Avatar Type” is set to “Text”.
Determines where the text value will come from.
The Static type is text specified in a string field, the Target type is a text value text returned from a target, and the XML Element type is a text value from a specified XML element.
Static Text Value
Only applicable when “Text Type” is set to “Static”.
Contains the text that will be displayed on the avatar.
Where Do We Get the Data for This Control?
Only applicable when “Text Type” is set to “Target”.
Contains the target information of the target that will be called to get the text value that will be displayed in the avatar.
XML Element
Only applicable when “Text Type” is set to “XML Element”.
Determines what XML element will be used to look for a text value to display on the avatar.
Size
Determines the size of the avatar (sizes are defined in the Telerik theme).
Roundness
Determines the radius applied to the avatar (values are defined in the Telerik theme).
Fill Mode
Determines if the avatar will be solid or an outline.
Display Border
Determines if the avatar will have a border around it.