Share via


2.316 ValidValues

The ValidValues element specifies the possible values for a ReportParameter and for populating UI selection lists for users to select a parameter value. This element is optional. If this element is present, it MUST specify either ValidValues.DataSetReference or ValidValues.ParameterValues.

The following are the parent and child elements of the ValidValues element.

Parent elements

ReportParameter

Child elements

ValidValues.DataSetReference

ValidValues.ParameterValues

The following is the XML Schema definition of the ValidValues element.

 <xsd:complexType name="ValidValuesType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="DataSetReference" type="DataSetReferenceType" 
                  minOccurs="0" />
     <xsd:element name="ParameterValues" type="ParameterValuesType" 
                  minOccurs="0" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>