attachments::goto_attachment_url (public)

 attachments::goto_attachment_url [ -package_id package_id ] \
    -object_id object_id -attachment_id attachment_id \
    [ -base_url base_url ]

Defined in packages/attachments/tcl/attachments-procs.tcl

Switches:
-package_id
(optional)
-object_id
(required)
-attachment_id
(required)
-base_url
(optional)
Returns:
the url to go to an attachment

Partial Call Graph (max 5 caller/called nodes):
%3 test_attachments_url_api attachments_url_api (test attachments) attachments::goto_attachment_url attachments::goto_attachment_url test_attachments_url_api->attachments::goto_attachment_url attachments::get_attachments_url attachments::get_attachments_url (private) attachments::goto_attachment_url->attachments::get_attachments_url attachments::get_all_attachments attachments::get_all_attachments (public) attachments::get_all_attachments->attachments::goto_attachment_url

Testcases:
attachments_url_api
Source code:
        return "[get_attachments_url -base_url ${base_url}]/go-to-attachment?object_id=$object_id&attachment_id=$attachment_id"
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/attachments/tcl/attachments-procs.xql

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