Documentation Center

merge

Load configuration from an unpacked package into the current database. This may trigger the addition or delete of pubs, XForms, or search indexes.

Parameters

action
merge
type
Describes the type of XML configuration file to merge. One of the following values: app, pub, pub_delete, xform, or index

Example URL

http://<host>:<port>/<context>/web/package.xql?action=merge&type=<value>

Successful Result

This function returns a standard API result element (<result status='SUCCESS' statusCode='0' message='Localized Message' messageKey='message.key'/>). A statusCode of 0 indicates a successful execution. Any other statusCode indicates a failure.

Failed Result

Accessing this API feature requires the "Manage application" permission, and the function will throw a permission exception if the permission is not available.