Skip to content

Add NZC Audit dashboard, audit reports, Winter '27 list views, and docs - #3

Merged
mshresponse merged 4 commits into
mainfrom
claude/nzc-lightning-package-xml-5iluw4
Sep 2, 2026
Merged

mshresponse merged 4 commits into
mainfrom
claude/nzc-lightning-package-xml-5iluw4

Conversation

@mshresponse

@mshresponse mshresponse commented Sep 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes the gap between the shipped dashboards and the CRM Analytics audit dashboard, and adds the Winter '27 list-view bulk-edit surface — all core Lightning, no CRMA licence.

Validated against a licensed Net Zero Cloud org (API 67.0): package.xml deployed 42/42 and is live; package-4-list-views.xml dry-ran 6/6.

NZC Audit dashboard (NZC_Dashboards/NZC_Audit)

  • Reporting Year dashboard filter across the top (2023–2026, editable in the builder); every component maps its own ReportingYear column so stationary and fleet share one picker.
  • Left: Scope 1 by Asset and Year (stacked column from a matrix report — the anomaly check), Orphaned Footprints by Year.
  • Middle: Stationary Footprints by Stage (donut), Footprints by Year and Stage (stacked column).
  • Right: Fleet Footprints by Stage (donut), Fleet Footprints by Year and Stage.

5 new reports (all on existing standalone report types, no new report types)

  • Emissions_by_Asset_and_Year — matrix, asset down × reporting year across, Scope 1 / Scope 2 loc / Scope 2 mkt summed
  • Footprints_by_Stage, Footprints_by_Year_and_Stage — stationary
  • Fleet_Footprints_by_Stage, Fleet_Footprints_by_Year_and_Stage — fleet

6 list views — manifest/package-4-list-views.xml (optional, not in package.xml)

One per NZC object under force-app/main/default/objects/<Object>/listViews/, same narrow editable columns as the data-entry reports, for the two Winter '27 User Interface settings (inline edit with multiple record types; remove page-layout dependency). Kept in their own manifest because they only earn their place once those settings are on. Org finding recorded in the docs: NZC objects reject the NAME column key and take the plain field API name Name.

Docs

  • README: product naming history (Sustainability Cloud → Net Zero Cloud → Agentforce Net Zero) and why NZC: stays; page-layout dependency added to the inline-editing limits table; new List views for bulk edits (Winter '27) section; counts updated to 21 reports / 3 dashboards / 6 list views.
  • docs/building-your-own.md: matrix + dashboard-filter metadata syntax; the year-over-year PREVGROUPVAL formula as a UI recipe (deliberately not shipped as metadata — its internal column keys can't be verified without retrieving one Salesforce emitted); list view column keys on NZC objects.

CI

Manifest check now iterates every manifest/*.xml and resolves ListView members to objects/<Obj>/listViews/<Name>.listView-meta.xml.

Fixes found by the org dry run

  • Two descriptions trimmed to the 255-character metadata limit.
  • List view name column NAME → Name.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XsipTUqX7dcQDkvUkaFCuC

…nd docs

- NZC Audit dashboard with a Reporting Year filter: emissions per asset
  across years (matrix), footprints by stage and by year x stage for
  stationary and fleet, orphaned footprints
- Five supporting reports on the existing standalone report types
- Six list views, one per NZC object, in their own manifest
  (package-4-list-views.xml) for the Winter '27 list-view inline-editing
  settings; kept out of package.xml so they never gate the core deploy
- README: product naming history, page-layout dependency in the inline
  editing limits, Winter '27 list view section, updated counts
- docs/building-your-own.md: matrix and dashboard filter syntax, the
  year-over-year formula recipe, list view column name space
- CI manifest check now covers every manifest/*.xml and ListView members

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XsipTUqX7dcQDkvUkaFCuC
Dry run against an NZC org validated 40/42 components; the audit
dashboard and the asset-by-year matrix report failed only on
description length.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XsipTUqX7dcQDkvUkaFCuC
Dry run against an NZC org: 'Could not resolve list view column: NAME'
on all six. Modern standard objects take the plain field API name.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XsipTUqX7dcQDkvUkaFCuC
@mshresponse
mshresponse marked this pull request as ready for review September 2, 2026 14:52
@mshresponse
mshresponse merged commit 7ceeafd into main Sep 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants