XMLPublications.changeItemFieldBindingState (Method)

Changes an XML publication's binding state to active or inactive.

Returns:

Void

Arguments:

Name Type Required Description
bindingID XMLPublicationBindingID Required The ID of an XML publication binding.
state XMLPublicationState Required String identifying a state for an XML publication field binding: 'Active' or 'Inactive'.

Context:

License Requirements XMLPublication
Permission Requirements site:ManageXMLPublications
Deny Context None
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization This method may be customized at the site level

Error Codes:

Code Error Message
65016 You cannot change the state of the specified item field binding as it is associated with an inactive publication definition.

Notes:

None