Dashboardsのロゴ

Dashboards

コミュニティ
korchard333
dashboards

Dataverseのシステムダッシュボードとグラフの可視化に使用します。ダッシュボードの作成、ダッシュボードのFormXML、グラフXML、DataDescription XML、PresentationDescription XML、インタラクティブなダッシュボード、ダッシュボードのレイアウト、Model-Driven Appsへのグラフの埋め込みに対応します。

Add to TypingMind

概要

公開者korchard333
リポジトリclaude-power-platform-community
スキル名dashboards
スター
50
フォーク
6
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    korchard333がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Dashboards」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/korchard333/claude-power-platform-community/tree/main/.claude/skills/dashboards
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/korchard333/claude-power-platform-community.git /tmp/claude-power-platform-community
mkdir -p .claude/skills
cp -r /tmp/claude-power-platform-community/.claude/skills/dashboards .claude/skills/dashboards
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDashboardsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDashboardsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Dashboardsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Skill: System Dashboards & Chart Visualizations

When to Use

Trigger when designing, creating, or managing system dashboards, chart visualizations, or interactive dashboards in Model-Driven Apps.


Dashboard Types

TypeCreated InScopeUse Case
System DashboardSolution / Web APIAvailable to all users with accessStandard dashboards for the org
Personal DashboardApp / MDAIndividual user onlyUser-specific views
Interactive DashboardSolutionAll usersMulti-stream with interactive filtering — verify deprecation status before building new
Power BI EmbeddedSolutionAll usersAdvanced analytics

System Dashboard via Web API

Create Dashboard

http
POST /api/data/v9.2/systemforms
Content-Type: application/json
MSCRM.SolutionUniqueName: YourSolution

{
  "name": "Project Overview Dashboard",
  "description": "Dashboard showing project metrics and active tasks",
  "objecttypecode": "none",
  "type": 0,
  "formxml": "<see FormXML below>"
}

⚠️ Dashboard FormXML Rules

  1. type: 0 — Dashboards use form type 0 (not type 2 which is main form)
  2. objecttypecode: "none" — Dashboards are not entity-bound
  3. Do NOT use IsUserDefined on <tab> elements — this attribute is invalid for system dashboards
  4. ALL 14 control parameters are required — minimal FormXML that passes PATCH validation still fails at render time
  5. Cell attributes: Every <cell> needs colspan, rowspan, and auto='false'
  6. Row count must match rowspan: If rowspan='12', include 11 empty <row/> elements after the data row
  7. Section columns attribute: '111' = 3-column, '11' = 2-column
  8. Dashboard must be separately bound to app module via AddAppComponents

Required Control Parameters (per chart/grid panel)

Every control in a dashboard MUST include ALL of these parameters — omitting any causes blank rendering even though the API accepts the FormXML:

ParameterPurpose
TargetEntityTypeTable logical name
ChartGridModeChart, Grid, or All
EnableQuickFindQuick search toggle
EnableViewPickerView selector toggle
EnableJumpBarAlphabetical jump bar
RecordsPerPageRecords per page (e.g., 10)
ViewIdGUID of the view
IsUserViewfalse for system views
ViewIdsSame as ViewId (required duplicate)
AutoExpandFixed or Auto
VisualizationIdGUID of the chart (for chart panels)
IsUserChartfalse for system charts
EnableChartPickerChart selector toggle
RelationshipNameEmpty string for non-related grids

Dashboard FormXML Structure

xml
<form>
  <tabs>
    <tab name="tab0" id="{TAB-GUID}" locklevel="0" showlabel="false">
      <labels>
        <label description="Dashboard" languagecode="1033" />
      </labels>
      <columns>
        <column width="50%">
          <sections>
            <section name="section0" showlabel="false" id="{SECTION-GUID-1}" columns="11">
              <labels>
                <label description="" languagecode="1033" />
              </labels>
              <rows>
                <row>
                  <cell id="{CELL-GUID-1}" showlabel="false" colspan="1" rowspan="12" auto="false">
                    <labels>
                      <label description="Active Projects" languagecode="1033" />
                    </labels>
                    <control id="Chart1" classid="{E7A81278-8635-4D9E-8D4D-59480B391C5B}">
                      <parameters>
                        <TargetEntityType>contoso_project</TargetEntityType>
                        <ChartGridMode>Chart</ChartGridMode>
                        <EnableQuickFind>true</EnableQuickFind>
                        <EnableViewPicker>true</EnableViewPicker>
                        <EnableJumpBar>true</EnableJumpBar>
                        <RecordsPerPage>10</RecordsPerPage>
                        <ViewId>{VIEW-GUID}</ViewId>
                        <IsUserView>false</IsUserView>
                        <ViewIds>{VIEW-GUID}</ViewIds>
                        <AutoExpand>Fixed</AutoExpand>
                        <VisualizationId>{CHART-GUID}</VisualizationId>
                        <IsUserChart>false</IsUserChart>
                        <EnableChartPicker>true</EnableChartPicker>
                        <RelationshipName></RelationshipName>
                      </parameters>
                    </control>
                  </cell>
                </row>
                <row /><row /><row /><row /><row /><row /><row /><row /><row /><row /><row />
              </rows>
            </section>
          </sections>
        </column>
        <column width="50%">
          <sections>
            <section name="section1" showlabel="false" id="{SECTION-GUID-2}" columns="11">
              <labels>
                <label description="" languagecode="1033" />
              </labels>
              <rows>
                <row>
                  <cell id="{CELL-GUID-2}" showlabel="false" colspan="1" rowspan="12" auto="false">
                    <labels>
                      <label description="My Active Tasks" languagecode="1033" />
                    </labels>
                    <control id="List1" classid="{E7A81278-8635-4D9E-8D4D-59480B391C5B}">
                      <parameters>
                        <TargetEntityType>contoso_task</TargetEntityType>
                        <ChartGridMode>Grid</ChartGridMode>
                        <EnableQuickFind>true</EnableQuickFind>
                        <EnableViewPicker>true</EnableViewPicker>
                        <EnableJumpBar>true</EnableJumpBar>
                        <RecordsPerPage>10</RecordsPerPage>
                        <ViewId>{VIEW-GUID-2}</ViewId>
                        <IsUserView>false</IsUserView>
                        <ViewIds>{VIEW-GUID-2}</ViewIds>
                        <AutoExpand>Fixed</AutoExpand>
                        <IsUserChart>false</IsUserChart>
                        <EnableChartPicker>false</EnableChartPicker>
                        <RelationshipName></RelationshipName>
                      </parameters>
                    </control>
                  </cell>
                </row>
                <row /><row /><row /><row /><row /><row /><row /><row /><row /><row /><row />
              </rows>
            </section>
          </sections>
        </column>
      </columns>
    </tab>
  </tabs>
</form>

Dashboard Control Types

ClassIdControl Type
{E7A81278-8635-4D9E-8D4D-59480B391C5B}Chart or View Grid
{3A17F498-FFAE-4c72-A889-7F4E0C88D5A8}IFrame (web resource)
{9FDF5F91-88B1-47f4-AD53-C11EFC01A01D}Web Resource

ChartGridMode Values

ValueDisplay
ChartShows chart visualization
GridShows view grid (list of records)
AllShows chart with grid below

Query GUIDs:

http
# Get view GUID
GET /api/data/v9.2/savedqueries?$filter=name eq 'Active Projects' and returnedtypecode eq 'contoso_project'&$select=savedqueryid

# Get chart GUID
GET /api/data/v9.2/savedqueryvisualizations?$filter=name eq 'Projects by Status'&$select=savedqueryvisualizationid

Chart Visualizations

Create Chart

http
POST /api/data/v9.2/savedqueryvisualizations
Content-Type: application/json
MSCRM.SolutionUniqueName: YourSolution

{
  "name": "Projects by Status",
  "description": "Pie chart showing project distribution by status",
  "primaryentitytypecode": "contoso_project",
  "datadescription": "<see DataDescription XML>",
  "presentationdescription": "<see PresentationDescription XML>",
  "isdefault": false
}

⚠️ Charts Require Full PresentationDescription XML

Minimal PresentationDescription XML that passes API validation can still fail at render time. Always use the full MS official format with all styling attributes.

DataDescription XML (What Data to Show)

Use standard aliases groupby_column and aggregate_column — non-standard aliases may cause render errors.

xml
<datadefinition>
  <fetchcollection>
    <fetch mapping="logical" aggregate="true">
      <entity name="contoso_project">
        <attribute name="contoso_projectid" aggregate="count" alias="aggregate_column" />
        <attribute name="statuscode" groupby="true" alias="groupby_column" />
        <filter>
          <condition attribute="statecode" operator="eq" value="0" />
        </filter>
      </entity>
    </fetch>
  </fetchcollection>
  <categorycollection>
    <category>
      <measurecollection>
        <measure alias="aggregate_column" />
      </measurecollection>
    </category>
  </categorycollection>
</datadefinition>

PresentationDescription XML — Column Chart (Full Official Format)

xml
<Chart Palette="None" PaletteCustomColors="91,151,213; 237,125,49; 160,116,166; 255,192,0; 68,114,196; 112,173,71">
  <Series>
    <Series ChartType="Column" IsValueShownAsLabel="True" Color="91, 151, 213"
      Font="{0}, 9.5px" LabelForeColor="59, 59, 59"
      CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40">
      <SmartLabelStyle Enabled="True"/>
    </Series>
  </Series>
  <ChartAreas>
    <ChartArea BorderColor="White" BorderDashStyle="Solid">
      <AxisY LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59"
        TitleFont="{0}, 10.5px" LineColor="165, 172, 181">
        <MajorGrid LineColor="239, 242, 246"/>
        <LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59"/>
      </AxisY>
      <AxisX LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59"
        TitleFont="{0}, 10.5px" LineColor="165, 172, 181">
        <MajorGrid Enabled="False"/>
        <MajorTickMark Enabled="False"/>
        <LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59"/>
      </AxisX>
    </ChartArea>
  </ChartAreas>
  <Titles>
    <Title DockingOffset="-3" Font="{0}, 13px" ForeColor="59, 59, 59" Alignment="TopLeft"/>
  </Titles>
</Chart>

PresentationDescription XML — Pie Chart

xml
<Chart Palette="None" PaletteCustomColors="91,151,213; 237,125,49; 165,165,165; 255,192,0; 68,114,196; 112,173,71; 37,94,145; 158,72,14; 99,99,99; 153,115,0">
  <Series>
    <Series ChartType="Pie" IsValueShownAsLabel="True" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PieLabelStyle=Inside, PieDrawingStyle=Default">
      <SmartLabelStyle Enabled="True" />
    </Series>
  </Series>
  <ChartAreas>
    <ChartArea>
      <Area3DStyle Enable3D="false" />
    </ChartArea>
  </ChartAreas>
  <Legends>
    <Legend Alignment="Center" LegendStyle="Table" Docking="Bottom" IsEquallySpacedItems="True" Font="{0}, 11px" ForeColor="59, 59, 59" />
  </Legends>
</Chart>

⚠️ Chart XML Schema Rules

  • Axis titles MUST be attributes, NOT nested elements: <AxisY Title="Count"/> not <AxisY><Title>Count</Title></AxisY>
  • Use standard aliases in DataDescription: groupby_column and aggregate_column
  • After creating charts: Bind to app module via AddAppComponents with @odata.type: Microsoft.Dynamics.CRM.savedqueryvisualization

Chart Types

ChartType ValueVisualization
ColumnVertical bar chart
BarHorizontal bar chart
LineLine chart
PiePie chart
FunnelFunnel chart
AreaArea chart
StackedColumnStacked bar chart
StackedBarStacked horizontal bar
DoughnutDoughnut chart

Add Dashboard to App Module

http
POST /api/data/v9.2/AddAppComponents
Content-Type: application/json

{
  "AppId": "app-module-guid",
  "Components": [
    {
      "@odata.type": "Microsoft.Dynamics.CRM.systemform",
      "formid": "dashboard-systemform-guid"
    }
  ]
}

⚠️ Dashboards must be separately bound to the app module. Adding entities (via their views/forms) does NOT include dashboards. Each dashboard needs its own AddAppComponents call with @odata.type: Microsoft.Dynamics.CRM.systemform.


Interactive Dashboards

Multi-Stream Dashboard

Interactive dashboards support real-time filtering by clicking chart elements. Each stream shows a different view of the same or related entity.

xml
<!-- Interactive dashboard streams in FormXML -->
<control id="Stream1" classid="{3A17F498-FFAE-4c72-A889-7F4E0C88D5A8}">
  <parameters>
    <StreamName>Active Projects</StreamName>
    <ViewId>{VIEW-GUID}</ViewId>
    <TargetEntityType>contoso_project</TargetEntityType>
    <EnableCharts>true</EnableCharts>
    <EnableFilters>true</EnableFilters>
  </parameters>
</control>

Embedding Web Resources in Dashboards

xml
<control id="WebResource1" classid="{9FDF5F91-88B1-47f4-AD53-C11EFC01A01D}">
  <parameters>
    <Url>contoso_/html/projectDashboard.html</Url>
    <PassParameters>true</PassParameters>
    <Security>false</Security>
    <Scrolling>no</Scrolling>
    <Border>false</Border>
  </parameters>
</control>

Best Practices

Layout

  • Maximum 6 components per dashboard (performance)
  • Charts on left, lists on right (natural eye flow)
  • Use consistent chart types for similar data across dashboards
  • Filter-friendly: ensure views support interactive filtering

Views for Dashboards

  • Create dedicated views for dashboard components (named [Dashboard] - Active Projects)
  • Keep view column count low (4-6 columns) for readability
  • Always filter to active records by default
  • Use system views (not personal) for shared dashboards

Anti-Patterns

  • More than 6 components (causes slow loading)
  • Personal views in shared dashboards (break when shared)
  • Charts without filters (show misleading totals)
  • Not adding dashboards to the app module (users can't find them)
  • Complex web resources that make API calls on load (slow, error-prone)
  • Hardcoded GUIDs in dashboard FormXML instead of view/chart references
  • Using IsUserDefined attribute on tab elements (invalid for system dashboards)
  • Omitting required control parameters (charts render blank)
  • Using non-standard aliases in DataDescription (render failures)
  • Minimal chart XML that passes validation but fails at render time

Related Skills

  • model-driven-apps — Dashboards are consumed in Model-Driven Apps
  • dataverse-web-api/customizations — View and form creation for dashboard components
  • business-process-flows — BPFs are a separate skill for process automation

よくある質問

AIスキル「Dashboards」では何ができますか?

Dataverseのシステムダッシュボードとグラフの可視化に使用します。ダッシュボードの作成、ダッシュボードのFormXML、グラフXML、DataDescription XML、PresentationDescription XML、インタラクティブなダッシュボード、ダッシュボードのレイアウト、Model-Driven Appsへのグラフの埋め込みに対応します。

TypingMindでDashboardsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Dashboardsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDashboardsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/korchard333/claude-power-platform-community/tree/main/.claude/skills/dashboardsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Dashboardsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Dashboardsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDashboardsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Dashboards」は無料ですか?

はい。korchard333がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇