Click or drag to resize

ISchemaFieldDefinitions Interface


Represents the collection of built-in schema field types (Element and Attribute types) in the Ingeniux CMS. This collection contains all field types used to to construct a schema.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
public interface ISchemaFieldDefinitions

The ISchemaFieldDefinitions type exposes the following members.

Methods
 NameDescription
Public methodAttributeFieldType Retrieves the attribute field type. There is only one type of attribute field.
Public methodCount Gets the count of built-in field types.
Public methodElementType Retrieves a field type by element type enum value.
Public methodItem Retrieves a field type by its name.
Public methodItemByID Retrieves a field type by its internal ID. Refer to the full list of field type IDs at SchemaFieldDefinitions.
Public methodItemByPrefix Retrieves an Ingeniux proprietary field type by its prefix.
Public methodItems Retrieves all built-in schema field types.
Public methodMultiSelectItemByContent(IElement) Retrieves a multi-select field type by its implementation node.
Public methodMultiSelectItemByContent(XElement) Retrieves a multi-select field type by its implementation node.
Public methodTextItemByType Retrieves a text element type by its standard "dt:type" value. These are standard schema types.
Top
Remarks
This collection is built into the system and cannot be changed.
Example
Below is the full collection of the field types in XML format:
XML
<Field id="1" name="Attribute" type="string" prefix="" icon="new16"/>
<Field id="2" EnumId="1" name="Text Element" type="string" prefix="" icon="document16"/>
<Field id="3" EnumId="2" name="XHTML Element" type="dhtml" prefix="dhtml" icon="edit16"/>
<Field id="4" EnumId="3" name="Component" type="" prefix="xpowercomponent" icon="component16"/>
<Field id="5" EnumId="17" name="List" type="" prefix="xpowerlist" icon="group16"/>
<Field id="6" EnumId="4" name="Link" type="" prefix="xpowerlink" icon="link16" hasExport="true"/>
<Field id="7" EnumId="5" name="Insert" type="" prefix="xpowerinsert" icon="insert16"/>
<Field id="8" EnumId="6" name="Navigation" type="" prefix="xpowernavigation" icon="navigation16" hasExport="true"/>
<Field id="9" EnumId="13" name="Checkbox" type="boolean" prefix="" icon="check16"/>
<Field id="10" EnumId="22" name="Date" type="date" prefix="" icon="datetime16"/>
<Field id="11" EnumId="21" name="Dropdown List" type="enumeration" prefix="" icon="dropdown16"/>
<Field id="12" EnumId="26" name="Image File" type="imagefile" prefix="" icon="image16"/>
<Field id="13" EnumId="27" name="Media File" type="mediafile" prefix="" icon="media16"/>
<Field id="14" EnumId="28" name="Document" type="document" prefix="" icon="document16"/>
<Field id="15" EnumId="15" name="GroupStart" type="" prefix="xpowergroupstart" icon="group16"/>
<Field id="16" EnumId="16" name="GroupEnd" type="" prefix="xpowergroupend" icon="group16"/>
<Field id="17" EnumId="8" name="ComExecute" type="" prefix="xpowercomexecute" icon="comcomponent16"/>
<Field id="18" EnumId="11" name="JavaExecute" type="" prefix="xpowerjavaexecute" icon="javacomponent16" />
<Field id="19" EnumId="25" name="Multi-Select: Hard-coded choices" type="multiselect" prefix="" icon="dropdown16"/>
<Field id="20" EnumId="25" name="Multi-Select: Choices from Database Query" type="multiselect" prefix="" icon="dropdown16"/>
<Field id="21" EnumId="25" name="Multi-Select: Choices from CMS node-set" type="multiselect" prefix="" icon="dropdown16"/>
<Field id="22" EnumId="25" name="Multi-Select: Choices from external scripting" type="multiselect" prefix="" icon="dropdown16"/>
<Field id="23" EnumId="18" name="TaxonomyNavigation" type="" prefix="xpowertaxonomynavigation" icon="navigation16" hasExport="true"/>
<Field id="24" EnumId="19" name="References" type="" prefix="xpowerreferences" icon="references16" hasExport="true"/>
<Field id="25" EnumId="14" name="password" type="" prefix="xpowerpassword" icon="comcomponent16" />
<Field id="26" EnumId="20" name="LinkSet" type="" prefix="xpowerlinkset" icon="linkset16" hasExport="true"/>
<Field id="27" EnumId="23" name="Local Date" type="localdate" prefix="" icon="datetime16"/>
<Field id="28" EnumId="24" name="Local Time" type="localtime" prefix="" icon="datetime16"/>
<Field id="29" EnumId="29" name="DynamicExecute" type="" prefix="xpowerdynamicexecute" icon="comcomponent16"/>
See Also