Trading Networks 10.3 | Administering and Monitoring B2B Transactions | ActiveTransfer Built-In Services Reference | Asset Folder | Summary of Elements in the Asset Folder | wm.mft.assets.vfs:add
 
wm.mft.assets.vfs:add
Creates a new virtual folder in the ActiveTransfer Server Virtual File System (VFS).
Input Parameters
parentVfsId
String (Optional) The internal identifier of the parent virtual folder under which you want to create this virtual folder if the folder is not the root folder in a ActiveTransfer Server VFS.
parentVfsPath
String (Optional) Specify the path of the parent virtual folder for the new virtual folder, if you want to create the virtual folder under the parent virtual folder. For example, the value data/inbound/po indicates that data is the root folder with the subfolder inbound, and po is a subfolder in the inbound folder.
vfsDetails
Document Reference A document reference to the wm.mft.assets.rec.vfs:VfsDetails document type, which specifies the details of the virtual folder in ActiveTransfer Server.
Output Parameters
success
String If the service was successful in creating a new virtual folder in ActiveTransfer Server.
*true The service was successful.
*false The service was not able to create a new virtual folder in ActiveTransfer Server.
vfsId
String The internal identifier for the virtual folder in ActiveTransfer Server.
message
String A message that is logged after the service execution is complete.
validationErrors
String List An array of all the error messages logged during validation of vfsDetails.
Usage Notes
*ActiveTransfer Server generates a unique ID for the new virtual folder. Hence, it overrides the vfsId input parameter specified in vfsDetails for this service.
*If parentVfsId is specified, ActiveTransfer Server ignores the value provided in parentVfsPath.