XMLPublications.saveDefinition (Method)
Either saves an existing XML publication definition or creates a new one.
Returns:
XMLPublicationDefinitionID (integer)
Arguments:
Name | Type | Required | Description |
---|---|---|---|
id | XMLPublicationDefinitionID_0 | Required | The ID of an XML publication definition ID. If this value is 0, CommonSpot creates a new publication definition rather than updating an existing one. |
name | XMLPublicationDefinitionName | Required | The name of an XML publication definition. |
description | PlainText_2000 | Optional. Defaults to an empty string. | The text describing an XML publication definition,. |
Context:
License Requirements | None |
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 |
---|---|
65000 | A publication definition already exists with this name. Please enter a different name. |
Notes:
None