Description:
This step is used to create a new document on the SharePoint site
Example:
Let’s build and execute the “spCreateDocumentDef” example.
- Create a new definition called “spCreateDocumentDef”
- Select the definition and click the “design” button
- Drag a “spCreateDocument” step from the toolbox
- Connect the dots between the start and “spCreateDocument” step
- Click on the “spCreateDocument” step to configure its “Settings” properties. Provide a name to the step. Provide a description. Select the oAuth provider from the dropdown list. Select oAuth provider dropdown values coming from connection menu oAuth setting need to be configure sharepoint oauth params and get authorization. Provide the source file name with application server path to be uploaded.
- Click on the “spCreateDocument” step to configure its “Settings” properties. Provide a file path to save the document on the SharePoint site. Provide a base URL for the SharePoint site. Provide a variable/global to store the result after execution.
- Save the process definition, create a new process instance and execute. The workflow will start and creates a document in the sharepoint folder.