Templates for Document Books follow the same general structure of the other object books. Refer to the General Tags section for general tags. This section will describe tags that are specific to documents.
Tags in this section start from the root array “objects” and are within the “object” object.
Tag | Description |
---|---|
{documentType} | The type of the document (URL, FILE, TEMPLATE, etc.) |
{url} | The value of the URL (type must be URL) |
{fileInfo} | An object containing the document information |
{#fileInfo}{name}{/fileInfo} | The name o f the document |
{#fileInfo}{extension}{/fileInfo} | The extension of the file (.pdf, .docx, .pptx, etc) |
{#fileInfo}{previewable}{/fileInfo} | Boolean for whether the document is previewable |
Post your comment on this topic.