callback::search::url::impl::file_storage_object (private)
callback::search::url::impl::file_storage_object -object_id object_id
Defined in packages/file-storage/tcl/file-storage-callback-procs.tcl
Return the URL to the file_storage_object
- Switches:
- -object_id (required)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ::callback::search::url::contract__arg_parser {*}$args set item_id [content::revision::item_id -revision_id $object_id] set name [db_string item { select name from cr_items where item_id = :item_id } -default ""] return "[ad_url]/file/$item_id/$name"XQL Not present: Generic PostgreSQL XQL file: packages/file-storage/tcl/file-storage-callback-procs-postgresql.xql
Oracle XQL file: packages/file-storage/tcl/file-storage-callback-procs-oracle.xql