Changes

Attach a PDF to a Web Page View

395 bytes added, 19:53, 17 May 2010
no edit summary
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 byt the [[Web Page View]] use the following syntax:
:<font size="3">'''&lt;!--@ssattach(setting;''pdf file location'')-->'''</font>
'''Notes:'''
* When a [[Multiple Files]] field is specified, all PDF files stored in that field will be attached where specified.
* Single or Multiple file fields on parent /grandparent levels can also be access 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.
* To obtain the file location for a PDF file stored in a [[Smart Folder]] go to the relevant [[Smart Folder]] and select '''View URL''' from the '''File Options''' combo box next to the relevant PDF file. The first part of the URL should be omitted: the location specified should begin with "/files/..." as in the examples below.
* 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.
==Examples==
0
edits