Changes

Jump to: navigation, search

Create PDF Document with JavaScript

3 bytes removed, 12:44, 2 July 2013
no edit summary
To convert a report to PDF you could add the following code to the '''Header''' on the '''[[Report Template''']]:
<pre>
To convert a report to PDF you could use the following code as the body of the '''[[Report Template''']]:
<pre>
This technique can be used to create a single PDF document that contains multiple records, similar to a '''Mail Merge'''. For example, if you wish to create a one-page '''Executive Summary''' of all the Level 1 {{l1}} records that you have at a given status such as '''Under Review'''.
# On the Level 1 Record create a [[Read Only System Variable]] custom field with HTML with the information you wish to display, formatted as desired. Note: the contents of this field would be very much like the contents of a [[Web Page View]] field, but only the contents within the '''body''' tag.
# The role permissions for this field can be set to '''Deny Role Access''' since you do not want it visible when viewing the actual Level 1 record (although you may want to make if visible temporarily while you configure the field for testing purposes.)
8,849
edits

Navigation menu