Documentation Center

upload_interface

Returns an HTML page allow for uploading of resources into the database through the UI.

Parameters

action
upload_interface
lang
A language version of a publication.
pub
A publication, which is a logical grouping of information (topics and multimedia) related to a specific subject, containing one or more language versions.

Example URL

http://<host>:<port>/<context>/web/pub.xql?action=upload_interface&lang=<value>&pub=<value>

Successful Result

An HTML page that includes an embedded Flash upload widget that will allow you to upload resources through the UI.

Failed Result

Accessing this API feature requires the "Manage pubs" permission, and the function will return a 401 Unauthorized (html/401unauthorized.html) page if the permission is not available.