attachments::detach_url (public)
attachments::detach_url [ -package_id package_id ] \ -object_id object_id -attachment_id attachment_id \ [ -base_url base_url ] [ -return_url return_url ]
Defined in packages/attachments/tcl/attachments-procs.tcl
- Switches:
- -package_id (optional)
- -object_id (required)
- -attachment_id (required)
- -base_url (optional)
- -return_url (optional)
- Returns:
- the url to detach an attached item from an object
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- attachments_url_api
Source code: return "[get_attachments_url -base_url ${base_url}]/detach?object_id=$object_id&attachment_id=$attachment_id&return_url=[ad_urlencode $return_url]"XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/attachments/tcl/attachments-procs.xql