Set SharePoint document Properties

Last published at: April 26th, 2021

Description:

Set SharePoint document Properties

Inputs

  • BaseURL – Base URL for your SharePoint site
  • selOAuthProvider - Select OAuth Provider 
  • documentFilePath – Path to get file properties in SharePoint site
  • payloadData - Define Payload raw data
  • resultJson – Store result in Variable or Global 

Returns

  • True – step executed successfully
  • False – step failed to execute 

Usage:

Example:

Let’s build and execute the spSetDocPropertiesDef example.          

  • Create a new definition called “spSetDocPropertiesDef”
  • Select the definition and click the “design” button
  • Let’s define variables called “spSetDocProp”, click on the “start” step and select the “define variables” button

  • Click on the “spSetDocProperties” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic
  • Select oAuth provider dropdown values coming from connection menu oAuth setting need to be configure SharePoint oAuth params and get authorization. 
  • Save the workflow definition
  • Create a workflow instance and execute
  • Workflow should start and it should set the document properties.