Documentation Center

Elements on List Views

The following elements have been added or updated to the List Views.

ElementDescription
ishlist
  • Group name ishfieldbehavior renamed to ishlistfieldbehavior
  • Minimum occurrence = 0 to the element ishlistfield
  • In the sequence, added an attribute ref of the type xs:IDREF as the second occurrence with optional use.
  • Changed the type of defaultsortorder into type sortorder.
ishlistfield
  • Group reference ishfieldbehavior renamed to ishlistfieldbehavior
  • New attribute ishfielddatatype of the type ishfielddatatype with optional use.

The following illustrates how this is configured in the MetadataConfig.xsd file

	<!-- ***********************************************************************************************-->
	<!-- ********** Elements for ishlist ***************************************************************-->
	<!-- ***********************************************************************************************-->
	<xs:group name="ishlistfieldbehavior">
		<!--xs:all-->
		<xs:sequence>
			<xs:element name="alignment" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="center"/>
						<xs:enumeration value="left"/>
						<xs:enumeration value="right"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="allowfilter" minOccurs="0">
				<xs:complexType/>
			</xs:element>
			<xs:element name="sortable" minOccurs="0">
				<xs:complexType/>
			</xs:element>
			<xs:element name="width" type="xs:unsignedByte" minOccurs="0"/>
			<!--/xs:all-->
		</xs:sequence>
	</xs:group>
	<xs:complexType name="ishlistfield">
		<xs:sequence>
			<xs:group ref="header"/>
			<xs:group ref="ishlistfieldbehavior"/>
		</xs:sequence>
		<xs:attribute name="id" type="xs:ID" use="optional"/>
		<xs:attribute name="name" type="xs:string" use="required"/>
		<xs:attribute name="ishfieldref" type="xs:Name" use="required"/>
		<xs:attribute name="level" type="level" use="required"/>
		<xs:attribute name="ishfielddatatype" type="ishfielddatatype" use="optional"/>
		<xs:attributeGroup ref="condition"/>
	</xs:complexType>
	<xs:complexType name="ishlist">
		<xs:sequence>
			<xs:element name="ishlistfield" type="ishlistfield" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="id" type="xs:ID" use="required"/>
		<xs:attribute name="ref" type="xs:IDREF" use="optional"/>
		<xs:attribute name="defaultsort" type="xs:string" use="optional"/>
		<xs:attribute name="defaultsortorder" type="sortorder" use="optional"/>
		<xs:attribute name="allowpaging" type="boolean" use="optional" default="no" />
		<xs:attribute name="pagesize" type="pagesize" use="optional" />
		<!-- Id is required => No conditions allowed -->
		<!--xs:attributeGroup ref="condition"/-->
	</xs:complexType>