content::item::get_id (public)

 content::item::get_id -item_path item_path \
    [ -root_folder_id root_folder_id ] \
    [ -resolve_index resolve_index ]

Defined in packages/acs-content-repository/tcl/content-item-procs.tcl

Looks up the item_path starting with the root folder and returns item_id for that content item or empty, if none exists

Switches:
-item_path (required)
-root_folder_id (optional)
-resolve_index (optional)
Returns:
The item_id of the found item, or the empty string on failure

Testcases:
image_new, content_item, cr_item_search_triggers
Source code:
    return [package_exec_plsql -var_list [list  [list item_path $item_path ]  [list root_folder_id $root_folder_id ]  [list resolve_index $resolve_index ]  ] content_item get_id]
Generic XQL file:
packages/acs-content-repository/tcl/content-item-procs.xql

PostgreSQL XQL file:
packages/acs-content-repository/tcl/content-item-procs-postgresql.xql

Oracle XQL file:
packages/acs-content-repository/tcl/content-item-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: