MetadataForm.deleteBinding (Method)
Removes the binding for a metadata form.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
bindingType | BindingType | Required | The target binding's type; for example, one of the following: 'ExternalURLs', 'ImageFiles', 'PageCategories' 'Subsite', and so on. |
bindingID | ID_0 | Required | The ID of the object to which the metadata form is bound. For example, if the 'BindingType' is 'SubsiteID, this is the subsite's ID. If 'BindingType' is 'ImageFiles' or 'ExternalURLs', CommonSpot ignores this value. |
metadataFormID | MetadataFormID | Required | A metadata form's ID. |
Context:
License Requirements | MetaData |
Permission Requirements | site:ManageMetadataForms |
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 | Customization is not supported for this method. |
Error Codes:
Code | Error Message |
---|---|
30004 | No $1 binding exists which has an ID of '$2'. |
30005 | Invalid metadata form ID '$1' / Binding ID '$2' for $3. |
Notes:
None