Copy Item
Copy Item enables you to copy the files and folders in the sharepoint from one location to another.
Using Copy Item feature
- Make sure the prerequisites for using Office 365 activities are met.
- Drag the Sharepoint 365 activity and drop the activity below the OAuth activity inside the Application activity block. The validation error symbol disappears when you select at least one features from the available list.
- In the Access Token list, select the argument holding the retrieved access token.
- In the Site URL list, specify the Sharepoint Site URL used for the activity.
- In the Feature list, select Copy Item.
- Click the
(Setting) icon to configure the input parameter item path for copying the file or folder and configuring advance options. The Input Configuration screen appears.
- Ensure to define all the input parameters as an in argument in the Parameter bar for selection in the mandatory and advanced options.
- Mandatory Options
- In the Item Path list, enter or select the path of the file or folder that needs to be copied.
- Click Advanced Options. These are optional parameters that lets you define more input configuration as per your requirements.
- Advanced Options
- In the Destination Path parameter, specify a desired location to create the required file or folder. If the location is not defined, by default, the file or folder gets created at the root location of your sharepoint.
- In the New Item Name parameter, specify the new name for the copied file or folder. If new item name is not specified, the file or folder gets copied in the destination folder with the existing name.
- Click Delete corresponding to a particular parameter you want to remove from the list of specified input parameters.
- Mandatory Options
- You can select the Is Default Value checkbox to set the selected input parameter as the default value.
- Click Confirm to save the configuration.
- Click the
- In the Output list, select the parameter to map the status of the operation performed. You must pre-define the parameter as an out argument to make it available for the selection.
- Save the process. The sharepoint 365 process with the Copy Item operation is created and saved.
- In the Tool bar, click Test Run, and then click Setup Environment.