Class MoveFilesOrFolders
Moves files or folders and returns their new paths.
Defined in: move.js.
Constructor Attributes | Constructor Name and Description |
---|---|
MoveFilesOrFolders(src, dest)
Moves files or folders and returns their new paths.
|
Class Detail
MoveFilesOrFolders(src, dest)
Moves files or folders and returns their new paths.
Moves all of the folders and files specified by assetID in 'src' to the destination 'dest' and returns their paths. These paths are parsed into a text object keyed by AssetID from the JSON file in which they are contained, and by default are displayed to the user.
'MBurl'/wf/move?src=['AssetID']&dest='New/Path'
http://127.0.0.1:55555/wf/move?src=["12345"]&dest="Assets/Library"
- Parameters:
- src
- AssetID/list of assetIDs of folders and files to move.
- dest
- The path to move the selected folders and files to.
- Returns:
- ( {'AssetID': "path",...} )