0
edits
Changes
→PDF Options
* '''Enable Save to server''' – enables the [[User|user]] to save the document as a PDF into any multiple file type fields in the related [[Entity|entity]].
* '''Maximum PDF Page Length that can be Saved to Multiple File Field''' - Specifies the maximum number of pages of the resultant PDF permitted to be stored into a [[Multiple Files]] field if the '''Save to Multiple File Field''' settings is enabled. This includes pages attached using [[ssattach]]. If the PDF document is too long it will not be stored.
* '''Automatic File Naming''': The syntax ''<nowiki><!--filename='WPF - filename'--></nowiki>'' can be included in the HTML Template, when saved as a PDF, the PDF filename will default to 'WPF - filename.pdf'.<br /> Variables such as @name@ can be used (ex. ''<nowiki><!--filename='WPF - @name@'--></nowiki>'') to dynamically set the resultant PDF filename.<br />For PDFs automatically generated by the system using [[Workflow]]s you can add the version number using the following syntax, based on the number of files already stored in the destination [[Multiple Files]] field:<br /><nowiki><!--filename='Application @Submission Number@ <!--@sscalculation(IF("@PDF of Application.numoffiles@"*1>0,CONCAT("Version ","@PDF of Application.numoffiles@"*1+1),""))-->'--></nowiki>