Copy Item

Creates a copy of file or folder.

This activity creates a copy of a file or folder as a DriveItem and adds it to the user-specified location using the Microsoft Graph Copy item API.

Input

  • Connection Id: GraphServiceClient Variable Required Specifies the office 365 connection id.

  • Drive Item: Object Argument Required Specifies the file or folder that is to be copied 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].

  • Destination:FilePathEditorData Argument Specifies the directory to which a specific item is to be copied as a DriveItem. If the property field is left empty, the file/folder will be copied to the project directory by default. 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].

  • New Item Name: String Argument Required Specifies the name of the item(file or folder) after it's copied. In the case of the file that is being copied include the file extension along with the name in this property. For eg: NewSample.xlsx.

Output

Last updated