Changes

Jump to: navigation, search

Attach a PDF to a Web Page View

878 bytes removed, 17:13, 22 July 2013
Syntax
To attach a PDF file to the beginning or the end of the [[Web Page View]]:
:<font size="3">'''&lt;!--@ssattach(''position'';''pdf file location'')-->'''</font>
 
 
To attach a PDF file to a defined page location within the [[Web Page View]]:
:<font size="3">'''&lt;!--@ssattach(insert;''pdf file location'';''page number'')-->'''</font>
 
 
To control the format settings of the PDF generated by the [[Web Page View]] use the following syntax:
:<font size="3">'''&lt;!--@ssattach(setting;''pdf file location'')-->'''</font>
 
'''Where:'''
* ''position'' is either '''before''', or '''after''' or '''insert'''.* ''page number'' is the page at which the file should be inserted into the PDF document.::'''Note:''' The ''page number'' is '''only''' specified when using ''insert'' as the position.
* ''pdf file location'' is:
:{|cellpadding="5" cellspacing="0" border="1"
* Single or Multiple file fields on parent/grandparent levels can also be included using:
::* @parent.''Custom Field Name''.value@, @parent.parent.''Custom Field Name''.files@, etc.
* The ''page number'' is only specified when using ''insert'' as the position.
* When using '''setting''' the PDF file will not be attached. The PDF file referenced should be a blank one-page PDF file which has the format settings you wish your PDF document to have. These are normally stored in a [[Smart Folder]].
==Examples==
8,849
edits

Navigation menu