Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Card template element attributes

Use this reference to determine which attributes to use for your card template elements.

Each card template element has one or more required attributes that you must create. The sections below show the required attributes for each card template element type.

Note: When using the Mobile Card Builder, the listed attributes do not need to be manually created, as the tool automatically creates the attributes in the background.

Attributes for the Text type

NameDescriptionConfiguration
TextValueUsed to display static text.Use the Translatable value field to enter the text to display.
FieldLabelUsed to display the label of a table field.Use the Value field to enter the name of a field. For example, short_description.
FieldValueUsed to display the value of a field in a record.Use the Value field to enter the name of a field. For example, short_description.
FieldFunctionUsed to display either a count of records, or the value by which records are grouped. 

Attributes for the Image type

NameDescriptionConfiguration
ImageURLUsed to display a static image from the attachment[sys_attachment] table on your instance.Use the Value field to enter a SysID for a record in the attachment[sys_attachment] table.
FieldValueUsed to display an image from a field in a record.Use the Value field to enter the name of a field. For example, avatar.

Attributes for the Button and MenuButton types

NameDescriptionConfiguration
ButtonUsed to select the function that runs when users tap a button.Use the Value field to enter the SysID of a function from the Functions[sys_sg_button] table. For details on creating functions, see Mobile functions.
TextValueUsed to display static text.Use the Value field to enter the name of a field. For example, short_description.
FieldValueUsed to display the value of a field in a record.Use the Value field to enter the name of a field. For example, avatar.
IconUsed to display an icon.Use the Value field to enter the SysID of an icon record from the Icon[sys_sg_icon] table.

Attributes for the Menu type

NameDescriptionConfiguration
TextValueUsed to display static text.Use the Value field to enter the name of a field. For example, short_description.
IconUsed to display an icon.Use the Value field to enter the SysID of an icon record from the Icon[sys_sg_icon] table.

Attributes for the HtmlText type

NameDescriptionConfiguration
SearchExternalSource  
HtmlReplaceMap  
HtmlSanitizationAllowList  
HtmlRemoveList  
StringReplaceMap  
RenderType  

Property Attributes

Use property attributes to define additional properties for your card template slot. These properties are not associated with a specific attribute type.

NameDescriptionConfiguration
BackgroundColorColor of the background for the card template element.Use the Value field to define the color. Colors must be in color hex code format, or the name of a color theme. For example Primary or #8a8a8a.
BorderColorColor of the border for the card template element.Use the Value field to define the color. Colors must be in color hex code format, or the name of a color theme. For example Primary or #8a8a8a.
TextColorColor of the text or the card template element.Use the Value field to define the color. Colors must be in color hex code format, or the name of a color theme. For example Primary or #8a8a8a.