get_config
Get a pub config value.
Description
Looks for config item in the lang language version of the pub. If lang="ALL", looks in all language versions of the pub. If lang is the empty string or missing, looks at the pub level.
Parameters
- action
- get_config
- name
- Name of the config item.
- 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=get_config&name=<value>&lang=<value>&pub=<value>
Successful Result
The requested item as an XML node.
Failed Result
Accessing this API feature requires the "Use application" permission, and the function will throw a permission exception if the permission is not available.