Customize contents using HTML templates as described in the following sections:
See also Using templates in a bot.
Customizing content using an HTML template
Create an HTML template, as described in Creating a template.
For information about customizing the template, see Customizing content using templates and the tips provided below.
Viewing the template
After creating or selecting the template, click View adjacent to the template property to view the template.
Editing the template
To edit the template:
Download the template file from your data source to your computer.
Edit the template file on your computer using the text editor of your choice.
Upload the edited template file from your computer to your data source.
Manually creating an HTML template
Manually create an HTML template file by creating an empty text file, entering valid HTML, and saving the file using an
Template variables like
<<FirstName>> must be HTML encoded. For example, the < character is HTML encoded as < and the > character is HTML encoded as >.
The following provides an example HTML file with HTML encoding:
<p>Computed Total: <<[Qty]*[Price]>></p>
After the template file is saved to your computer, upload it to one of the data sources described in Configuring the data sources for storing templates.
For example, you can upload the template file to Google Drive, as follows.
Ensure that the Convert uploaded files to Google Docs editor format option is disabled as described in Uploading .txt templates to Google Drive.
Open Google Drive and navigate to the Google Drive folder where you wish to upload the file.
Click New and then click File upload.
When the file open dialog appears, navigate to the template file on your computer, select the file, and click Open.
After the template file is uploaded, use it as described in Using an existing template.
Each time you modify the HTML template you must upload the template file to Google Drive. Google Drive will retain the original DocId. AppSheet will use the last uploaded version of the template file as the attachment template.