Compartilhar via


2.2.4.2.2.9.5.2 ReportAction

This complex type represents an action that invokes a report.

ReportAction extends Action, and includes all the elements in Action. The XSD includes all the elements from the base class and the additional elements in the derived class.

   <xsd:complexType name="ReportAction">
     <xsd:complexContent>
       <xsd:extension base="Action">
         <xsd:all>
           <!--These elements are inherited from Action-->
           <xsd:element name="Name" type="xsd:string"/>
           <xsd:element name="ID" type="xsd:string" minOccurs="0"/>
           <xsd:element name="Caption" type="xsd:string" minOccurs="0"/>
           <xsd:element name="CaptionIsMdx" type="xsd:boolean" minOccurs="0"/>
           <xsd:element name="Translations" minOccurs="0">
             <xsd:complexType>
               <xsd:sequence>
                 <xsd:element name="Translation"  type="Translation" minOccurs="0"
                              maxOccurs="unbounded"/>
               </xsd:sequence>
             </xsd:complexType>
           </xsd:element>
           <xsd:element name="TargetType" >
             <xsd:simpleType>
               <xsd:restriction base="xsd:string" >
                 <xsd:enumeration value="Cube" />
                 <xsd:enumeration value="Cells" />
                 <xsd:enumeration value="Set" />
                 <xsd:enumeration value="Hierarchy" />
                 <xsd:enumeration value="Level" />
                 <xsd:enumeration value="DimensionMembers" />
                 <xsd:enumeration value="HierarchyMembers" />
                 <xsd:enumeration value="LevelMembers" />
                 <xsd:enumeration value="AttributeMembers" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="Target" type="xsd:string" minOccurs="0"/>
           <xsd:element name="Condition" type="xsd:string" minOccurs="0"/>
           <xsd:element name="Type" >
             <xsd:simpleType>
               <xsd:restriction base="xsd:string" >
                 <xsd:enumeration value="Url" />
                 <xsd:enumeration value="Html" />
                 <xsd:enumeration value="Statement" />
                 <xsd:enumeration value="Drillthrough" />
                 <xsd:enumeration value="Dataset" />
                 <xsd:enumeration value="Rowset" />
                 <xsd:enumeration value="CommandLine" />
                 <xsd:enumeration value="Proprietary" />
                 <xsd:enumeration value="Report" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="Invocation" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:string" >
                 <xsd:enumeration value="Interactive" />
                 <xsd:enumeration value="OnOpen" />
                 <xsd:enumeration value="Batch" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="Application" type="xsd:string" minOccurs="0"/>
           <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
           <xsd:element name="Annotations" minOccurs="0" >
             <xsd:complexType>
               <xsd:sequence>
                 <xsd:element name="Annotation"  type="Annotation" minOccurs="0"
                              maxOccurs="unbounded"/>
               </xsd:sequence>
             </xsd:complexType>
           </xsd:element>
           <!--Extended elements for ReportAction object-->
           <xsd:element name="ReportServer" type="xsd:string"/>
           <xsd:element name="Path" type="xsd:string" minOccurs="0"/>
           <xsd:element name="ReportParameters" minOccurs="0">
             <xsd:complexType>
               <xsd:sequence>
                 <xsd:element name="ReportParameter" type="ReportParameter"
                              minOccurs="0" maxOccurs="unbounded"/>
               </xsd:sequence>
             </xsd:complexType>
           </xsd:element>
           <xsd:element name="ReportFormatParameters" minOccurs="0">
             <xsd:complexType>
               <xsd:sequence>
                 <xsd:element name="ReportFormatParameter"
                              type="ReportFormatParameter"
                              minOccurs="0" maxOccurs="unbounded"/>
               </xsd:sequence>
             </xsd:complexType>
           </xsd:element>
         </xsd:all>
       </xsd:extension >
     </xsd:complexContent>
   </xsd:complexType>

ReportAction inherits all elements from Action. The following table shows only the elements that are in addition to those contained in the Action base class.

Element

Read-Only

Default value

Description

ReportServer

[Required]

The name of the computer on which the report server is running.

Path

The path pointing to the report in the report server.

ReportParameters

A collection of type ReportParameter, which is passed to a specific report and handled according to the specification in that report for that parameter.

ReportFormatParameters

A collection of type ReportFormatParameter, which is passed to a specific report to affect the formatting of the report. The parameter is handled according to the specification in that report for that parameter.