Create appearance templates for cards for a mobile campaign
Create item card templates that contain information about the appearance of each type of card displayed in a mobile campaign.
Before you begin
Role required: admin
About this task
When creating cards, you need to assign an item view. Item views provide information about a card's appearance. Therefore, for each card style you want to use, you need a create a separate item view even if the card type is the same. For example, if you want some image cards to have light text on a dark background and other image cards to have dark text on a light background, you would need to create a separate item view for each of those styles.
Procedure
In the web-based UI, enter
sys_sg_item_view.listin the filter navigator to open a list of item views.Click New.
On the form, fill in the fields.
| Field | Description |
|---|---|
| Name | Name of the item view.Note: For easy identification, include the card type (image, text, or video) in the name. |
| Short Description | Optional additional details. |
| Item view JSON | The configuration code you created for the card type. For more information, see Configure the details for the appearance of cards for a mobile campaign. |
| Table | The Employee Center table \[`sn_cd_content_mobile`\], which contains the content of the cards. |
| Dependency fields | Dependency fields taken from data entered in the Item view JSON field. |
| UI Styles | UI styles to apply to text cards. For information about how to configure the font color and background color for text cards, see Mobile UI styles. |
- Click Submit.
Result
After creating item views for each card style, you need to build and link components to display your mobile campaign. For more information, see Configure mobile campaign components.