myb-p-dashboardslisted
Install: claude install-skill AviMYB/mybusiness-plugins
# MyBusiness CRM Dashboards
Build dashboards that look and behave like the existing `apps/mybusiness/DashboardSales` / `DashboardLeads` / `DashboardCaseManager` — full grid with date-filter header, KPI counters, charts, and an embedded data table — for any entity in the CRM.
> **DRAFT NOTICE.** This skill was authored on 2026-04-29 after a single end-to-end build (Affiliates + Suppliers dashboards) plus a follow-up extension exercise. Several MCP tools are missing today, requiring workarounds. See [references/tooling-gaps.md](references/tooling-gaps.md). When those tools land, the workflow below should be simplified — DO update this file at that point.
This skill covers two flows:
1. **Build a new dashboard** (clone an existing one, repoint elements in place via `elemId`) — the bulk of the workflow below.
2. **Extend an existing dashboard** (add fresh rows + elements at the bottom) — see "Extending an existing dashboard with a new section" further down.
## Architecture
A MyBusiness CRM dashboard is just a regular page with `masterPageId` = `CRMmaster` (the same master used by the entity LIST pages — Accounts, Cases, etc.). What makes it a dashboard is the *content*: a fixed grid containing a date-filter form, counter/chart elements, and an embedded `simbla-table`.
```
apps/mybusiness/DashboardX (masterPageId = CRMmaster)
└── Page content
├── Header row (P161): icon + title H2 + <form name="genericform"> with FromDate/ToDate inputs + 'הפעל' button + 'ערוך' button