...
Screen Item | What to provide | |||||
---|---|---|---|---|---|---|
Template ID | Provide a unique ID for the Template. For example, SAMPLE_TEMPLATE. | |||||
Template Description | Small description about the Template. For example, SAMPLE TEMPLATE. | |||||
Channel Id | Indicates for which channel the template is applicable for. The options available are: Do you wish to configure a common template for all channels? Yes: This template is applicable to all the following channels.
No: Appropriate channel must be selected for the template.
| |||||
Template Config | You have to specify the relevant HTML DOM (codes) with the swipe button background attributes for enabling the swipe button in the template. The following code snippet serves as a sample reference: Example for HTML DOM:
| |||||
Need to be loaded on Startup? | Indicates the rendering of the template in the initial instance. Click Yes for the template to get rendered on accessing the template widget in the end application. On selecting No, the template will not get rendered on accessing the template widget in the end application. | |||||
Submit | Submit the configuration of the template. |
...
Note | |||||
---|---|---|---|---|---|
Once you map the configured Sample Template to a template widget in App Designer, you must specify the swipe button styles in the appropriate listener file of the template widget and ensure that the enableSwipeBtn attribute is specified as true, as shown in the following sample code snippet:
Refer App Designer - Templates to create a template widget using App Designer in Canvas Studio. Refer Creating Workspaces to map the created template widget to a workspace using Workspace Designer in Canvas Studio. |
...