MetadataForm.saveProperties (Method)

Saves the properties of a new or existing metadata form.

Returns:

MetadataFormID (integer)

Arguments:

Name Type Required Description
id MetadataFormID_0 Required Updates a metadata form. If the ID is 0, CommonSpot creates a new metadata form.
name MetadataFormName_Valid Required The metadata form's name.
inheritFromTemplate Boolean Optional. Defaults to '0'. Boolean flag which when set to true indicates that this metadata form inherits its data from templates.

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
30002 A metadata form already exists with this name '$1'.

Notes:

None