attachments::add_attachment_url (public)
attachments::add_attachment_url [ -folder_id folder_id ] \ [ -package_id package_id ] -object_id object_id \ [ -return_url return_url ] [ -pretty_name pretty_name ]
Defined in packages/attachments/tcl/attachments-procs.tcl
- Switches:
- -folder_id (optional)
- -package_id (optional)
- -object_id (required)
- -return_url (optional)
- -pretty_name (optional)
- Returns:
- the url that can be used to attach something to an object
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- attachments_url_api
Source code: return "[get_attachments_url]/attach?pretty_object_name=[ns_urlencode $pretty_name]&folder_id=$folder_id&object_id=$object_id&return_url=[ns_urlencode $return_url]"XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/attachments/tcl/attachments-procs.xql