Report configuration file schema

適用対象: CRM 2016 on-prem, CRM Online

New custom report types can be added to Microsoft Dynamics CRM through the reports configuration file. For each new report type, a viewer can be defined that specifies the report type's filename extension and a handler that can display a report of the given type.

You can find this schema in the SDK\Schemas\reports.config.xsd file in the SDK package. Microsoft Dynamics CRM SDK パッケージをダウンロードします。

Schema

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="viewers"
           
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
 <xs:element name="viewers">
  <xs:complexType>
   <xs:choice maxOccurs="unbounded">
    <xs:element name="viewer">
     <xs:complexType>
      <xs:attribute name="extension"
                    type="xs:string"
                    use="required"/>
      <xs:attribute name="handler"
                    type="xs:string"
                    use="optional"/>
      <xs:attribute name="name"
                    type="xs:string"
                    use="required"/>
     </xs:complexType>
    </xs:element>
   </xs:choice>
  </xs:complexType>
 </xs:element>
</xs:schema>

Sample Report Configuration File

<?xml version="1.0" encoding="utf-8" ?>
<viewers>
  <viewer extension="xyz" handler="/Specialviewer.aspx"
    name="Special Report Type"/>
  <viewer extension="abc" name="Client Rendered Report"/>
</viewers>

関連項目

他のリソース

Microsoft Dynamics CRM 用レポートの開発者ガイド
レポート エンティティ
Schemas used in Microsoft Dynamics CRM
Microsoft Dynamics CRM 用レポートの開発者ガイド

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.