...
- In Canvas Studio, click Create -> Template.
- In the Create New Template form, provide the following information:
Screen Item | What to provide | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Template ID | Provide a unique ID for the Template. | |||||||||||||||
Template Description | Small description about the Template. | |||||||||||||||
Channel | 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 | Provide You can directly enter the HTML DOM (codes) of this Template or paste the template in this field. Alternatively, define the HTML/CTTPL file of the Template template in the WAR folder (e.g. ctmodelhouse/templates) and provide the path to the template in this field. Example for HTML DOM:
Example for template path:
For your reference, the contents of the card_template.cttpl is as follows and the following screen shot highlights the sections of the template code with the visuals:
| |||||||||||||||
Submit | Submit the configuration of Template. |
...