ISchemaField Interface |
Represents a field in schema. It corresponds to an element or attribute in a page.
A schema contains a flat list of multiple fields.
Namespace: Ingeniux.CMS
The ISchemaField type exposes the following members.
Name | Description | |
---|---|---|
AIHelpText |
Gets/sets a field's AI related help text. Fields with AI help text will be included the full content AI content
generation, and the help text will be part of the prompt to confine the content generation context.
| |
ChildElementLabel |
Gets/sets the child element label. Only applies to the List element field type.
| |
ChildElementName |
Gets/sets the child element's name. Only applies to the List element field type.
| |
ChildElementType |
Gets/sets the child element type. Only applies to the List element field type.
| |
DefaultValue |
Gets/sets the field's default value.
| |
Exports |
Gets the field's collection of local exports. Local exports add additional attributes for Link and Navigation element XML output to global exports.
| |
FieldType |
Gets/sets the type of field.
| |
HelpText |
Gets/sets a field's help text. Help text, displayed on the Ingeniux CMS edit form, is information to help users complete the field.
| |
Hidden |
Gets/sets whether the field is hidden for non-administrator users and users who don't have the
View Hidden Elements permission on the CMS edit form.
| |
Indexable |
Gets/sets the field's ability to be indexed for in site search.
| |
Label |
Gets/sets the the field's label (friendly name).
| |
Name |
Gets/sets the name of the field.
| |
OpenByDefault |
Gets/sets whether this field should display all information to the client on initial get.
| |
Readonly |
Gets/sets whether the field is read-only for non-administrator users on the CMS edit form.
| |
Required |
Gets/sets whether the field is required.
| |
TypeName |
Gets the name of the field type.
| |
UniqueID |
Gets/sets the unique ID of the Schema Field. Only effective in page creation for Element fields.
|
Name | Description | |
---|---|---|
ChildProperty |
Gets a property of a child item of the field. Only applies to the List element field type.
| |
Property | ||
RemoveExport |
Removes a local exports entry if exists.
| |
Serialize |
Serialize this field into Ingeniux CMS XML schema format.
| |
SetChildProperty |
Sets a property of child item of the field. Only applies to List Element field type.
If child property with given name doesn't exist, will create a new child property.
| |
SetExport |
Sets a local exports entry.
If the entry exists, it updates its value. Otherwise, it creates a new entry.
| |
SetProperty |
Sets a property of the field. If the property with the given name doesn't exist, creates a new property.
|
Normally one schema field corresponds to one page field. However there are exceptions:
A Group element in the schema consists of two fields: GroupStart and GroupEnd.
A List element may have multiple child elements, but in the schema, the List element and its children's properties are defined in one field.