Skip to main content

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

NameTypeDescription
fieldNamestringField name
Null or an empty string cannot be specified.
valuestringCustom data value
If null, delete the data in the specified format.
formatstringCustom format name
Case insensitive.

Return value

  • void

Exception

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen 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 foundExtensionFieldNotFoundExceptionIf the specified field is not found in the metaclass of this instance
Does not match the field typeExtensionInvalidTypeExceptionIf the data type of the specified field is not rich text type
Illegal operationExtensionInvalidOperationExceptionIf 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