Changes

Jump to: navigation, search

Create PDF Document with JavaScript

868 bytes added, 22:20, 4 January 2013
no edit summary
This technique can be used to create a single PDF document that contains multiple records. For example, if you wish to create a one-page '''Executive Summary''' of all the Level 1 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 to display 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.)# Create a report that is filtered for the desired Level 1 records. The only field that contains needs to be visible in the report is the Read Only System Variable field created above.# Use the technique described above to turn the report into a PDF. If you wish each Level 1 record to be on a separate page of the PDF you can add the following HTML to the '''Rows''' of the report '''<pd4ml:page.break/>'''
0
edits

Navigation menu