IModel.SetRichTextFieldCustomData method
Namespace: NextDesign.Core
Description
Sets the value to the custom format of the specified rich text field.
Custom format values are not displayed on the UI. It can be acquired and set only with the API.
argument
Name | Type | Description |
---|---|---|
fieldName | string | Field name Null or an empty string cannot be specified. |
value | string | Custom data value If null, delete the data in the specified format. |
format | string | Custom format name Case insensitive. |
Return value
- void
Exception
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | When null or empty string is specified for fieldName When null or empty string is specified for format The specified format exists when null is specified for value. If not |
Field not found | ExtensionFieldNotFoundException | If the specified field is not found in the metaclass of this instance |
Does not match the field type | ExtensionInvalidTypeException | If the data type of the specified field is not rich text type |
Illegal operation | ExtensionInvalidOperationException | If it is a deleted model or temporary proxy If you specify an inoperable field for the field name -Product line feature assignment field -System.Core Fields tagged |