Changes

Attach a PDF to a Web Page View

349 bytes added, 23 February
Additional Information
==Examples==
* Append a PDF file from a [[Smart Folder]] '''before''' the current [[Web Page View Field]] page:
 
<pre>
<!--@ssattach(before;/files/1234/123/myfile.pdf )-->
* Append a PDF file from a [[Smart Folder]] '''after''' the current [[Web Page View Field]] page:
 
<pre>
<!--@ssattach(after;/files/1234/123/myfile.pdf )-->
* Attach PDF files to a Level 1 [[Web Page View]] from the UTA Role [[Custom Fields]] on the contact section:
<pre> [#(?object=contact;)&lt;<!--@ssattach(after;$?opr_123456.value$)-->#]</pre>
Where 123456 is the Custom Field ID
 
 
* Attach PDF files to a Level 1 [[Web Page View]] from the organization [[Custom Fields]] associated as the Customer on the Level 1 record:
 
<pre> <!--@ssattach(after;@client.UploadFieldName.files@)-->
</pre>
Where UploadFieldName is the field name of the multi-file upload custom field on the organization record
==Additional Information==
::See also: [[Display Additional File Attributes for PDF Documents]]
* The '''ssattach''' function can be placed anywhere inside the HTML tags within the [[Web Page View Field]]
* All PDF page settings will driven by the first PDF document file, whether it is a static file or one generated by [[SmartSimple]]
* Multiple PDF files can be attached from different sources by using multiple ssattach statements:
Smartstaff, administrator
4,478
edits