11.3.10 Button Templates
Customize the look and feel of a button using button templates. Button templates are optional.
- Button Template Attributes
Learn about common button template attributes. You can use multiple images or HTML tags to build a button.
Parent topic: Creating Custom Themes
11.3.10.1 Button Template Attributes
Learn about common button template attributes. You can use multiple images or HTML tags to build a button.
For more information on an attribute, see field-level Help.
Parent topic: Button Templates
11.3.10.1.1 Name
Template Name identifies the name of the template. Use the Translatable checkbox to indicate if the template contains text strings that require translation. Theme indicates the theme to which the template is a member.
Template Class identifies a specific use for the template. When you switch to a theme, all templates in one theme are mapped to corresponding templates in another theme. App Builder accomplishes this template mapping through the assignment of a template class.
Parent topic: Button Template Attributes
11.3.10.1.2 Definition
Normal Template defines the button template that displays if the button type is Normal. For example, &ITEM_NAME.
values can be substituted at rendering time. Hot Template defines the button template that displays if the button type is Hot. You have the option of including standard application substitutions. For example, &ITEM_NAME.
values can be substituted at rendering time.
To learn more about supported substitution strings, see field-level Help.
Tip:
All substitution string must be in uppercase.
Parent topic: Button Template Attributes
11.3.10.1.3 Substitution Strings
Substitution strings are used within subtemplates to reference component values. To view the most current list supported substitution strings for a given template, view the template and find the Substitution Strings report.
Tip:
All template substitution strings must be in uppercase letters and begin and end with a number sign (#).
Table 11-9 Button Template Substitution Strings
Referenced From | Substitution String | Description |
---|---|---|
Hot Template |
|
Button attributes. |
Hot Template |
Button CSS classes. You must include the |
|
Hot Template |
Generated button ID will be either the button's Static ID if defined, or if not will be an internally generated ID in the format |
|
Hot Template |
|
Icon CSS classes. |
Hot Template |
Used in an onclick attribute. |
|
Hot Template |
Button label. |
|
Hot Template |
To be used in a |
|
Template |
Button attributes. |
|
Template |
Button CSS classes. You must include the |
|
Template |
Generated button ID will be either the button's Static ID if defined, or if not will be an internally generated ID in the format |
|
Template |
Icon CSS classes. |
|
Template |
Used in an onclick attribute. |
|
Template |
Button label. |
|
Template |
To be used in a |
Parent topic: Button Template Attributes