Export As PDF
Converts and exports a file as PDF
This activity converts a user-specified file in the OneDrive or SharePoint (DriveItem) to a PDF format and saves it to a given local location using the Microsoft Graph Convert content API.
Input
Connection Id:
GraphServiceClient Variable
Required
Specifies the office 365 connection id.Drive Item:
Object Argument
Required
Specifies the file that is to be exported as PDF as a DriveItem. We can also specify the output variable of the Find Files And Folders activity (which is First or Results) directly as input in this property. If we are using the Results property of the Find Files And Folders activity then we can directly specify the element in the array. For example : Results[1].Local Folder Path:
FilePathEditorData Argument
Specifies the local path to which the exported file is to be saved. If the field is left blank, the exported file will be saved within the project directory. The selected file will be saved in the same name in the user-specified location and if a file with the same name exists in the given location it will be overwritten.
To export the file with a different name append the new file name to the end of the local file path (ex: "C:\Documents\newFile.pdf").
Last updated