attachments::get_attachments (public)
attachments::get_attachments -object_id object_id \ [ -base_url base_url ] [ -return_url return_url ]
Defined in packages/attachments/tcl/attachments-procs.tcl
- Switches:
- -object_id (required)
- -base_url (optional)
- -return_url (optional)
- Returns:
- a list of attachment ids and names which are approved: {item_id name url detach_url}
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- attachments_basic_api
Source code: return [get_all_attachments -object_id $object_id -base_url $base_url -return_url $return_url -approved_only -add_detach_url]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/attachments/tcl/attachments-procs.xql