IModel.SetRichTextFieldValues Method
Namespace: NextDesign.Core
Description
Sets the HTML and text values for the specified rich text field.
Argument
Name | Type | Description |
---|---|---|
fieldName | string | Field name Null or an empty string cannot be specified. |
htmlValue | string | The HTML value of the field |
textValue | string | The text value of the field |
Return value
- void
Exceptions
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null or an empty string is specified for fieldName If the HTML specified for htmlValue does not contain a body tag (however, null or empty HTML is acceptable). |
Field not found | ExtensionFieldNotFoundException | If the specified field is not found in the metaclass of this instance. |
Field type does not match | ExtensionInvalidTypeException | If the data type of the specified field is not rich text. |
Invalid operation | ExtensionInvalidOperationException | If this is a deleted model or temporary proxy. If an inoperable field is specified as the field name. - Feature assignment field of a product line - Fields tagged with System.Core If an invalid field is specified |