fs::new_folder (public)
fs::new_folder -name name -pretty_name pretty_name \ -parent_id parent_id [ -creation_user creation_user ] \ [ -creation_ip creation_ip ] [ -description description ] \ [ -package_id package_id ] [ -no_callback ]
Defined in packages/file-storage/tcl/file-storage-procs.tcl
Create a new folder.
- Switches:
- -name (required)
- Internal name of the folder, must be unique under a given parent_id
- -pretty_name (required)
- What we show to users of the system
- -parent_id (required)
- Where we create this folder
- -creation_user (optional)
- Who created this folder
- -creation_ip (optional)
- What is the IP address of the creation_user
- -description (optional)
- of the folder. Not used in the current FS UI but might be used elsewhere.
- -package_id (optional)
- Package_id of the package for which to create the new folder. Preferably a file storage package_id
- -no_callback (optional, boolean)
- defines if the callback should be called. Defaults to yes
- Returns:
- folder_id of the newly created folder
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- fs_publish_file, fs_add_delete_copy, fs_create_folder_using_api, fs_add_file_to_folder