Difference between revisions of "Add a Print Template"
From LongJump Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 5: | Line 5: | ||
#Click the '''[New Template]''' button | #Click the '''[New Template]''' button | ||
#If the template does not already exist, create it: | #If the template does not already exist, create it: | ||
#:* Create a JSP [[Page]] in the platform | |||
#:: -or- | |||
#:* Create an HTML page on your local system | #:* Create an HTML page on your local system | ||
#:* | #:* And use the [[Template Variable Tool]] to get the names of variables you can use in the template: | ||
#:*:[[File:TemplateVariableTool.jpg]] | #:*:[[File:TemplateVariableTool.jpg]] | ||
#:*: ''Note:'' Template variables work only in HTML pages. They do not work in JSP pages. (Use standard JSP programming techniques to access platform information.) | |||
#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 |
Revision as of 22:08, 19 July 2011
A Print Template can be added to any object, except for the built-in Documents and Users objects.
To add a Print Template to a Custom Object:
- Click Designer > Data > Objects > {object} > Print Templates
- Click the [New Template] button
- If the template does not already exist, create it:
- Create a JSP Page in the platform
- -or-
- Create an HTML page on your local system
- And use the Template Variable Tool to get the names of variables you can use in the 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 Template File
- This is an HTML file that provides the template structure. Click the [Browse] button to locate the HTML file
- Page
- This is a page-based print template; Choose one of the JSP files stored in the platform.
- Click [Save]