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

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: