Click or drag to resize

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
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
public interface ISchemaField

The ISchemaField type exposes the following members.

Properties
  NameDescription
Public propertyChildElementLabel
Gets and sets the child element label. Only applies to the List element field type.
Public propertyChildElementName
Gets and sets the child element's name. Only applies to the List element field type.
Public propertyChildElementType
Gets and sets the child element type. Only applies to the List element field type.
Public propertyDefaultValue
Gets and sets the field's default value.
Public propertyExports
Gets the field's collection of local exports. Local exports add additional attributes for Link and Navigation element XML output to global exports.
Public propertyFieldType
Gets and sets the type of field.
Public propertyHelpText
Gets and sets a field's help text. Help text, displayed on the Ingeniux CMS edit form, is information to help users complete the field.
Public propertyHidden
Gets and 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.
Public propertyIndexable
Public propertyLabel
Gets and sets the the field's label (friendly name).
Public propertyName
Gets and sets the name of the field.
Public propertyReadonly
Gets and sets whether the field is read-only for non-administrator users on the CMS edit form.
Public propertyRequired
Gets and sets whether the field is required.
Public propertyTypeName
Gets the name of the field type.
Public propertyUniqueID
Gets and sets the unique ID of the Schema Field. Only effective in page creation for Element fields
Top
Methods
  NameDescription
Public methodChildProperty
Gets a property of a child item of the field. Only applies to the List element field type.
Public methodProperty
Gets a field property by its name. Each property corresponds to an attribute on a pageelement.
Public methodRemoveExport
Removes a local exports entry if exists.
Public methodSerialize
Serialize this field into Ingeniux CMS XML schema format.
Public methodSetChildProperty
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.
Public methodSetExport
Sets a local exports entry. If the entry exists, it updates its value. Otherwise, it creates a new entry.
Public methodSetProperty
Sets a property of the field. If the property with the given name doesn't exist, creates a new property.
Top
Remarks

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.

See Also