On this Page
Table of Contents | ||||
---|---|---|---|---|
|
Snap type: | Write | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: | This Snap performs move, copy, and delete operations in Box.
| |||||||||||||
Prerequisites: | [None] | |||||||||||||
Support and limitations: |
| |||||||||||||
Account: | This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See Box Account for information on setting up this type of account. | |||||||||||||
Views: |
| |||||||||||||
Settings | ||||||||||||||
Label | Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |||||||||||||
Box operations | Required. The operation in Box to perform. The options available include:
If Copy or Move is selected, Destination ID is mandatory. If Delete is selected, Destination ID and New name are not applicable. Example: Copy Default value: Move | |||||||||||||
Source type | Required. The type of item to be moved. Can be a 'file' or 'folder'. | |||||||||||||
Source ID | Required. The ID of the item you wish to move. If the target is a folder, this will be the folder ID. If the target is a file this will be the file ID. | |||||||||||||
New name | The item will be renamed to this in its new destination. This is an optional property | |||||||||||||
Destination ID | Required. The folder ID of the folder to which the item will be moved. | |||||||||||||
|
|
Example
To move a file with File ID '1234' to a chosen location with destination ID '34567' from its existing destination and the name of the file changed to 'new_name', supply the following property values:
Box operations: Move
Source type: File
Source ID: 1234 (can be found in the URL when the file is selected)
New name: new_name
Destination ID: 34567 (can be found in the URL when the folder is selected)
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|