Convert to PDF action allows you to convert the specified file to PDF. We support converting a wide variety of files: Microsoft Word documents (DOC, DOCX), Excel spreadsheets (XLS, XLSX) and PowerPoint files (PPT, PPTX).
For more information about Action Builder read Action Builder introduction article.
To configure the action Convert to PDF additional properties should be specified:
Configuration
Property | Required | Type | Description |
Source Library | yes | Choice | A library where source document is located. It is possible to select:
|
Item Id | yes | Integer | ID of the document to be converted to pdf or expression to be evaluated as ID of a document. |
Target | yes | Choice | There are two options where converted pdf document can be stored: - Open in browser. - Save to library. |
Target library | yes | Choice | A library where converted pdf document will be stored. It is possible to select:
|
Folder | no | String | Library relative URL. If you want to store converted pdf document to a new folder you can specify it in this property. |
File name | no | String | Fixed file name for pdf document or dynamically calculated using an expression. Leave empty in order to use the original file name with the pdf extension. |
If already exists | yes | Choice | If the file with the same name already exists you have several option to specify: |
Availability
Modern Forms | List Actions | Scheduled/Triggered Actions |
✓ | ✓ | ✓ |
Example of Convert PDF action configuration on the current site
Output
Output Parameter | Type | Description |
ItemID* | Number | Returns the Id of the converted pdf document in a library |
FileName | String | Returns the file name of the pdf document |
Url* | String | Absolute Url to the converted pdf document in a library. Starts with 'https://' |
ServerRelativeUrl* | String | Server relative path to the converted pdf document in a library. Starts with '/' |
LibraryRelativeUrl* | String | Library relative path to the converted pdf document in a library. Starts with file name |
*Output parameter value is available in a case of using option "Save to library"