Class Import
Imports files or folders and returns their paths.
Defined in: import.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Import(src)
Imports files or folders and returns their paths.
|
Class Detail
Import(src)
Imports files or folders and returns their paths.
Imports all of the folders and files specified by assetID in 'src' 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/import?src=['AssetID']
http://127.0.0.1:55555/wf/import?src=["12345"]
- Parameters:
- src
- AssetID/list of assetIDs of folders and files to import.
- Returns:
- ( {'AssetID': "path",...} )