Difference between revisions of "Add a Document Template"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 1: | Line 1: | ||
A Print Template can be added to any object, except for the built-in [[Documents]] and [[Users]] objects. It can use a [[Page]] stored in the platform, or it can be creating using an external HTML, Word, or Excel file. This section outlines the process. | A Print Template can be added to any object, except for the built-in [[Documents]] and [[Users]] objects. It can use a [[Page]] stored in the platform, or it can be creating using an external HTML, Word, or Excel file. This section outlines the process. | ||
To add a Print Template to an Object: | |||
Template | |||
#Click '''Designer > Data > Objects > {object} > Print Templates''' | #Click '''Designer > Data > Objects > {object} > Print Templates''' | ||
#Click the '''[New Template]''' button | #Click the '''[New Template]''' button.<br>The ''New Template'' page appears. | ||
#: | |||
#Use the [[Template Variable Tool]] to get the names of variables you can use in the template: | |||
#:[[File:TemplateVariableTool.jpg]] | #:[[File:TemplateVariableTool.jpg]] | ||
#:'''Note:'''<br>Template variables can be used in HTML, Word, and Excel files. (In [[Pages]] stored in the platform, you use standard JSP programming techniques to access platform information, rather than template variables.) | |||
#: | |||
# If it does not already exist, create the template: | |||
#* [[Create a JSP Page-based Print Template]] | |||
#* [[Create an HTML Print Template]] | |||
#* [[Create a Word-based Print Template]] | |||
#* [[Create an Excel-based Print Template]] | |||
#: | |||
#Provide the information in the Template Information section: | #Provide the information in the Template Information section: | ||
#:;Template Title:The template name | #:;Template Title:The template name | ||
Line 31: | Line 27: | ||
#:::: (The list does not include pages that have the ''Include Headers'' option.) | #:::: (The list does not include pages that have the ''Include Headers'' option.) | ||
#:::* Choose one of the JSP files stored in the platform. | #:::* Choose one of the JSP files stored in the platform. | ||
#: | |||
#Click '''[Save]''' | #Click '''[Save]''' |
Revision as of 00:38, 17 February 2012
A Print Template can be added to any object, except for the built-in Documents and Users objects. It can use a Page stored in the platform, or it can be creating using an external HTML, Word, or Excel file. This section outlines the process.
To add a Print Template to an Object:
- Click Designer > Data > Objects > {object} > Print Templates
- Click the [New Template] button.
The New Template page appears. - Use the Template Variable Tool to get the names of variables you can use in the template:
- Note:
Template variables can be used in HTML, Word, and Excel files. (In Pages stored in the platform, you use standard JSP programming techniques to access platform information, rather than template variables.)
- If it does not already exist, create the template:
- Create a JSP Page-based Print Template
- Create an HTML Print Template
- Create a Word-based Print Template
- Create an Excel-based Print Template
- Provide the information in the Template Information section:
- Template Title
- The template name
- Description
- Describe the purpose of the template or other information about it.
- Ready to Use
- The default setting for the template is Yes.
- Type
- Choose from:
- HTML
- To upload an HTML, Word, or Excel file to use as a template.
- The [Browse] button appears.
- Click it to locate the file to upload.
- Page
- JSP Page;
- A list of platform Pages is displayed.
- (The list does not include pages that have the Include Headers option.)
- Choose one of the JSP files stored in the platform.
- Click [Save]