Form Options
The following form options are available for the custom content form item object.
Table 8-1 Form Options
Property | Description |
---|---|
supporstSetsName |
Whether or not the form supports setting name. Typically this value is false when adding or editing digital asset attributes. When this value is false,
calling
will throw an
error. |
supportsSetDescription |
Whether or not the form supports setting description. Typically this value is false when adding or editing digital asset attributes. When this value is false, calling
will throw an
error. |
supportsSetLanguage | Whether or not the form supports setting language. Typically this value is false when adding or editing digital asset attributes |
supportsSetTranslatable |
Whether or not the form supports setting translatable. Typically this value is false when adding or editing digital asset attributes, and adding or editing content items in a business repository. When this value is false, calling will
throw an error. |
supportsSetSlug |
Whether or not the form supports setting slug. Typically this value is false in following scenarios:
When this value is false, calling
will throw an error. |
supportsSetMetaData |
Whether or not the form supports setting metadata. Typically this value is false while adding digital assets to the repository. When this value is false, calling following methods of item will throw an error.
|
supportsRequiredValidation | Whether or not the form supports required validation. Typically this value is false while adding digital assets to the repository. |
placement | Whether the form is displayed in the
or . |
mixedValueFields | An array of field names that has mixed values while editing attributes across multiple selected assets when adding assets to repository. |
supportsSetNativeFile | Whether or not the form supports adding a native file from the form for custom digital asset translations. Typically this value is true for new translations of custom digital assets whose Asset Type's file field is not inherit from master. In all other cases it is false. |