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  

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