Folder Manipulator
The Folder Manipulator allows you to replace or remove a folder path and update any content or binaries to live under the new folder path.
Properties
folderPath
The folder path to replace or remove
True
newFolderPath
The new folder path to use. Do not provide a value to remove the specified folder path.
False
folderPathAsRegex
Determines if the folderPath
value should be used as regex.
False
Specifics
This manipulator adjusts both the Folder Motation object and Content Motation objects.
How to use
Set the folderPath
property to a folder path that should either be replaced or removed.
The contentType
and fieldName
options are not necessary for this manipulator. If using the UI a whitespace can be used for these values.
remove a folder path
To remove a folder path, do not set a value for newFolderPath
. If no value is provided for the property, the specified folder path will be removed. Any content or binary that would have used the removed folder path will instead be updated to the folder path /
(root folder).
Multiple folders
Often a folder path will consist of multiple folders, not just one. Depending on the connector, these may be separate folders/folder paths which would require a separate folder manipulator. As a result, multiple folder manipulators may be required to achieve the desired result. i.e, Only the last folder in a path should be used and all other folders should be removed.
Check a connectors documentation for additional details.
Examples
Shorten folder path

Replace folder path

Remove folder path

Use folder path as regex

Last updated