2.271 CustomData
Applies to RDL 2005/01, RDL 2008/01, RDL 2010/01, and RDL 2016/01
The CustomData parent element defines the data and data manipulation for a CustomReportItem. The data is represented as columns and rows that can optionally be filtered, sorted, grouped, nested, and repeated. Custom report items that have a CustomData element child are considered to be data regions.
The quantity of DataRow elements within the CustomReportItem MUST equal the quantity of DataMember elements that have a DataRowHierarchy element ancestor and no DataMember element descendent.
The quantity of DataCell element children in each DataRow element within the CustomReportItem MUST equal the quantity of DataMember elements that have a DataColumnHierarchy element ancestor and no DataMember element descendant.
Following are the parent and child elements of the CustomData element.
Parent elements |
---|
CustomReportItem |
Child elements |
---|
Applies to RDL 2011/01
Child elements |
---|
The following is the XML Schema definition of the CustomData element in RDL 2005/01.
-
<xsd:complexType name="CustomDataType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="DataSetName" type="xsd:string" /> <xsd:element name="Filters" type="FiltersType" minOccurs="0" /> <xsd:element name="DataColumnGroupings" type="DataColumnGroupingsType" minOccurs="0" /> <xsd:element name="DataRowGroupings" type="DataRowGroupingsType" minOccurs="0" /> <xsd:element name="DataRows" type="DataRowsType" minOccurs="0" /> <xsd:any namespace="##other" processContents="skip"/> </xsd:choice> <xsd:anyAttribute namespace="##other" processContents="skip" /> </xsd:complexType>
The following is the XML Schema definition of the CustomData element in RDL 2008/01.
-
<xsd:complexType name="CustomDataType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="DataSetName" type="xsd:string" /> <xsd:element name="Filters" type="FiltersType" minOccurs="0" /> <xsd:element name="SortExpressions" type="SortExpressionsType" minOccurs="0" /> <xsd:element name="DataColumnHierarchy" type="DataColumnHierarchyType" minOccurs="0" /> <xsd:element name="DataRowHierarchy" type="DataRowHierarchyType" minOccurs="0" /> <xsd:element name="DataRows" type="DataRowsType" minOccurs="0" /> <xsd:any namespace="##other" processContents="skip" /> </xsd:choice> <xsd:anyAttribute namespace="##other" processContents="skip" /> </xsd:complexType>
The following is the XML Schema definition of the CustomData element in RDL 2010/01 and RDL 2016/01.
Note The following XSD represents RDL macro-versioned schemas only. Possible additions, identified earlier in this section, to base schema RDL 2010/01 from micro-versioned schemas RDL 2011/01, RDL 2012/01, and RDL 2013/01 are provided in sections 5.5, 5.6, and 5.7, respectively. For more information about macro- and micro-versioned schemas, see section 2.1.
-
<xsd:complexType name="CustomDataType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="DataSetName" type="xsd:string" /> <xsd:element name="Filters" type="FiltersType" minOccurs="0" /> <xsd:element name="SortExpressions" type="SortExpressionsType" minOccurs="0" /> <xsd:element name="DataColumnHierarchy" type="DataColumnHierarchyType" minOccurs="0" /> <xsd:element name="DataRowHierarchy" type="DataRowHierarchyType" minOccurs="0" /> <xsd:element name="DataRows" type="DataRowsType" minOccurs="0" /> <xsd:any namespace="##other" processContents="lax" /> </xsd:choice> <xsd:anyAttribute namespace="##other" processContents="lax" /> </xsd:complexType>