fs::get_item_id (public)
fs::get_item_id -name name [ -folder_id folder_id ]
Defined in packages/file-storage/tcl/file-storage-procs.tcl
Get the item_id of a file
- Switches:
- -name (required)
- -folder_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- fs_add_file_to_folder
Source code: if {$folder_id eq ""} { set folder_id [fs_get_root_folder -package_id [ad_conn package_id]] } return [content::item::get_id -item_path $name -root_folder_id $folder_id -resolve_index "f"]Generic XQL file: packages/file-storage/tcl/file-storage-procs.xql
PostgreSQL XQL file: packages/file-storage/tcl/file-storage-procs-postgresql.xql
Oracle XQL file: packages/file-storage/tcl/file-storage-procs-oracle.xql