다음을 통해 공유


Visualization data description schema

적용 대상: CRM 2015 on-prem, CRM Online

The following is the schema for the data description XML string for charts in visualization. This can be used to validate the contents of the data description XML string while creating a chart. For more information, see 차트 이해: 기본 데이터 및 차트 표현. You can find this schema in the SDK\Schemas\VisualizationDataDescription.xsd file in the SDK Microsoft Dynamics CRM SDK 패키지를 다운로드합니다. package.

Schema

<?xml version='1.0' encoding='utf-8'?>
<xs:schema attributeFormDefault='unqualified' elementFormDefault='qualified' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
  <xs:element name='datadefinition'>
    <xs:complexType>
      <xs:sequence>
        <xs:element name='fetchcollection'>
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs='unbounded' name='fetch'>
                <xs:annotation>
                  <[FetchXML goes here]>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name='categorycollection'>
          <xs:complexType>
            <xs:sequence>
              <xs:element name='category' type='CategoryType' minOccurs='1' maxOccurs='unbounded' />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name ='CategoryType'>
    <xs:sequence>
      <xs:element minOccurs='1' maxOccurs='unbounded' name='measurecollection'>
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs='1' maxOccurs='unbounded' name='measure'>
              <xs:complexType>
                <xs:attribute name='alias' type='xs:string' use='required' />
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

참고 항목

개념

차트 이해: 기본 데이터 및 차트 표현
샘플 차트
FetchXML을 사용하여 쿼리 구성

기타 리소스

시각화 및 대시보드 사용자 지정
Schemas used in Microsoft Dynamics CRM

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