Both sides previous revisionPrevious revisionNext revision | Previous revision |
transformations:sharepointcommand [2021/07/05 01:20] – craigt | transformations:sharepointcommand [2024/02/05 14:46] (current) – craigt |
---|
* Delete file | * Delete file |
* Delete files | * Delete files |
| * List folders |
| * Create folder |
| * Rename folder |
| * Delete folder |
| * List libraries |
| |
\\ | \\ |
^ Setting ^ Description ^ | ^ Setting ^ Description ^ |
|Connector<sup>*</sup>|Select the preconfigured SharePoint connector, or, build one by selecting //Add connector//.| | |Connector<sup>*</sup>|Select the preconfigured SharePoint connector, or, build one by selecting //Add connector//.| |
|Library<sup>*</sup>|Select the Library to perform the command in.| | |Library<sup>1</sup>|Select the Library to perform the command in.| |
|Command|Select the file operation this action will perform. Options: //List files//, //Download file//, //Download files//, //Upload file//, //Upload files//, //Delete file//, or //Delete files//. See below for details of each command type.| | |Command|Select the file operation this action will perform. Options: //List files//, //Download file//, //Download files//, //Upload file//, //Upload files//, //Delete file//, //Delete files//, //List folders//, //Create folder//, //Rename folder//, //Delete folder//, or //List libraries//. See below for details of each command type.| |
<sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. | <sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ |
| <sup>1</sup> Setting can be specified using a [[:parameters|parameter]] or the first value of a column.\\ |
| |
\\ | \\ |
|Do nothing|No file is downloaded/uploaded, the workflow does not halt, and no error is displayed.| | |Do nothing|No file is downloaded/uploaded, the workflow does not halt, and no error is displayed.| |
|Halt project execution|The project will stop processing and this action will display an error.| | |Halt project execution|The project will stop processing and this action will display an error.| |
| |
| \\ |
| ====List folders settings==== |
| **Description:** Produce a list of subfolders under the selected folder. |
| ^ Setting ^ Description ^ |
| |Folder<sup>*</sup>|Select a folder on SharePoint to retrieve a list of subfolders from.| |
| |Columns|Select the details of the found subfolders to be included in the dataset. Each detail produces a column.\\ Options: //Folder name with full path//, and //Folder name only//.| |
| <sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ |
| |
| \\ |
| ====Create folder settings==== |
| **Description:** Create a new SharePoint folder under the selected parent folder. |
| ^ Setting ^ Description ^ |
| |Parent folder<sup>*</sup>|Select a folder on SharePoint to create the new folder under.| |
| |Folder name<sup>*</sup>|Enter the name of the new folder.| |
| |If a folder with such name already exists|Choose how EasyMorph behaves if a folder with the //Folder name// already exists. Options: //Fail// (the workflow stops with a warning) or //Do nothing// (the workflow continues without creating the new folder).| |
| <sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ |
| |
| \\ |
| ====Rename folder settings==== |
| **Description:** Rename the selected SharePoint folder. |
| ^ Setting ^ Description ^ |
| |Folder<sup>*</sup>|Select the folder on SharePoint to rename.| |
| |New name<sup>*</sup>|Enter the new name for the selected folder.| |
| <sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ |
| |
| \\ |
| ====Delete folder settings==== |
| **Description:** Delete the selected SharePoint folder. |
| ^ Setting ^ Description ^ |
| |Folder path<sup>*</sup>|Select the folder on SharePoint to delete.| |
| |If the folder doesn't exist|Choose how EasyMorph behaves if the selected folder does not exist. Options: //Do nothing// (the workflow continues without creating the new folder) or //Fail// (the workflow stops with a warning).| |
| <sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ |
| |
| \\ |
| ====List libraries settings==== |
| **Description:** This mode generates a dataset of the libraries in the SharePoint site that includes //Title//, //Description//, and //Type// columns. No other settings are required. |
| |
\\ | \\ |
=====Remarks===== | =====Remarks===== |
The easiest way to build a list of remote files on a SharePoint site to be downloaded or deleted is to use this action in its //File list// configuration, including the "File name with full path" option. This list can then be modified to generate the final list of files to be downloaded or deleted. | The easiest way to build a list of remote files on a SharePoint site to be downloaded or deleted is to use this action in its //File list// configuration, including the "File name with full path" option. This list can then be modified to generate the final list of files to be downloaded or deleted. |
| |
| \\ |
| =====See also===== |
| * [[transformations:filecommand|File command]] |
| * [[transformations:filelist|List of files]] |
| * [[transformations:amazoncommand|Amazon S3 command]] |
| * [[transformations:azureblobstoragecommand|Azure Blob Storage command]] |
| * [[transformations:dropboxcommand|Dropbox command]] |
| * [[transformations:googledrivecommand|Google Drive command]] |
| * [[transformations:onedrivecommand|OneDrive command]] |
| |