Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
transformations:googledrivecommand [2021/11/10 15:16] – [Action settings] Fix connector target craigt | transformations:googledrivecommand [2023/03/08 13:43] – update to v5.4.1 with folder commands craigt |
---|
\\ | \\ |
=====Description===== | =====Description===== |
This action performs file operations with Google Drive. A configured [[connectors:airtable|Google Drive connector]] is required. | This action performs file and folder operations with Google Drive. A configured [[connectors:googledrive|Google Drive connector]] is required. |
| |
\\ | \\ |
^ Setting ^ Description ^ | ^ Setting ^ Description ^ |
|File list|Select the table column containing the list of fully qualified file names to be downloaded.| | |File list|Select the table column containing the list of fully qualified file names to be downloaded.| |
|Local folder<sup>*</sup>|Enter or browse to the local folder to download the files to. This action will //overwrite// files with the same name(s)\\ that already exist(s) in the destination folder.| | |Local folder<sup>*</sup>|Enter or browse to the local folder to download the files to. This action will //overwrite// files with the same names\\ that already exist in the destination folder.| |
<sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. | <sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. |
| |
^ Setting ^ Description ^ | ^ Setting ^ Description ^ |
|File list|Select the table column containing the list of fully qualified local file names to be uploaded.| | |File list|Select the table column containing the list of fully qualified local file names to be uploaded.| |
|Target folder<sup>*</sup>|Enter or browse to a Google Drive folder to upload the files to. This action will //overwrite// files with the same name(s)\\ that already exist(s) in the destination folder.| | |Target folder<sup>*</sup>|Enter or browse to a Google Drive folder to upload the files to. This action will //overwrite// files with the same names\\ that already exist in the destination folder.| |
<sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. | <sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. |
| |
| |
\\ | \\ |
====File already exists options==== | ====List folders settings==== |
^Option ^Description ^ | **Description:** Produce a list of subfolders under the selected folder. |
|Overwrite|The new file replaces the original file.| | ^ Setting ^ Description ^ |
|Do nothing|No file is downloaded/uploaded, the workflow does not halt, and no error is displayed.| | |Folder<sup>*</sup>|Select a folder on the remote resource to retrieve a list of subfolders from.| |
|Halt project execution|The project will stop processing and this action will display an error.| | |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 Google Drive folder under the selected parent folder. |
| ^ Setting ^ Description ^ |
| |Parent folder<sup>*</sup>|Select a folder on Google Drive 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 Google Drive folder. |
| ^ Setting ^ Description ^ |
| |Folder<sup>*</sup>|Select the folder on Google Drive 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 Google Drive folder. |
| ^ Setting ^ Description ^ |
| |Folder path<sup>*</sup>|Select the folder on Google Drive 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]].\\ |
| |
\\ | \\ |