SAC Custom Widgets
As of 2026-11-14
What is SAC Custom Widgets?
A SAC custom widget is a Web Component: a JSON file plus resource files that the browser loads, in analytics designer or the Optimized Story Experience. Build one only for a recurring gap, after checking what it loses: no theme, commenting, scheduling or translation (SAP developer guide 2026.8).
A custom widget extends SAP Analytics Cloud with a user interface element, visualisation or function the predefined widgets do not offer. Technically it is a Web Component described by a JSON file, and it runs in the browser. The decision is not only whether you can build it, but what it gives up: SAP's developer guide (version 2026.8, 24 June 2026) lists eight features custom widgets do not support in either analytics designer or the Optimized Story Experience, and the widget has to be maintained for as long as stories depend on it. Build one for a gap that recurs across stories; use a standard widget or an R visualization for a one-off.
What it is
The most basic widget is a JSON file and a JavaScript file; more complex ones add JavaScript, CSS and images. SAP requires no special software, and gives a sample widget to copy and modify, not a build tool. Once added, a widget behaves like a predefined one: it appears in the widget list and outline, can be moved and resized, can contribute script methods, and can offer Styling and Builder panels at design time. Rendering is isolated in a shadow DOM.
Why it matters
- Eight features, among them commenting, scheduling and translation, are unsupported on custom widgets in both environments, so the cost of a widget is also what the story loses (SAP developer guide 2026.8).
- A widget runs in the browser, and a story keeps only a reference to it: the hosting server and any credential in the code become your responsibility.
- Analytics designer lacks linked analysis, bookmarks and viewport loading on custom widgets, which the Optimized Story Experience supports.
Key points
- A custom widget is a Web Component: a JSON file plus resource files; the most basic is one JSON and one JavaScript file.
- Resources sit on your HTTPS server or on SAC; the browser requests them, SAC never does.
- SAC hosting: ZIP of at most 10 MB, JavaScript and icon only, up to 50 SAP-hosted widgets per tenant, not on Neo.
- Each resource carries an integrity hash (Subresource Integrity); ignoreIntegrity is for development.
- Chrome and Edge 79 or later only.
- Not supported in both environments: theme and CSS, pause refresh, data blending, commenting, scheduling, translation, Data Change Insights, Search to Insight.
- Widgets and analytics designer scripts both run in the browser: keep any AI service credential in a backend.
Terms used on this page
- Custom widget
- A Web Component that adds an element SAC's predefined widgets lack, described by a JSON file and loaded by the browser.
- Custom widget JSON
- The file uploaded to SAC: metadata and URLs of the resource files.
- Web Component
- Custom HTML elements isolated from the page by a shadow DOM.
- Subresource Integrity
- A hash that lets the browser reject a resource file that has changed.
- Optimized Story Experience
- The SAC story environment in which linked analysis, bookmarks and viewport loading work for custom widgets.
Sources
- SAP Analytics Cloud Custom Widget Developer Guide, version 2026.8, 24 June 2026, read 7 Nov 2026
- SAP Help — About Analytics Designer: scripts are executed by the web browser
- SAP Community member post — Context Engineering in SAP Analytics Cloud: Building ContextWallet for AI and Genie Integrations
- SAP Community — The Controller's Favourite: A Business Calculator Custom Widget for SAP Analytics Cloud Tables
- MDN — Web Components (custom elements, shadow DOM, templates), read 7 Nov 2026
- MDN — Using custom elements, read 7 Nov 2026
- MDN — Using shadow DOM, read 7 Nov 2026
- WHATWG HTML Standard — Custom elements, read 7 Nov 2026
- MDN — Subresource Integrity, read 7 Nov 2026
- W3C — Subresource Integrity specification, read 7 Nov 2026
- SAP on GitHub (archived) — SAP Analytics Cloud custom widget exchange repository, last updated March 2025
- SAP on GitHub (archived) — Creating custom widgets for SAP Analytics Cloud, learning journey code, last updated March 2025
Full card with the Consultant plan — €19.90/month. What the full card adds: the full decision framework · the SAP vs Snowflake / Databricks / Fabric comparison · the common pitfalls and their fix · the cheat sheet · the architecture schemas · the code blocks · the facts worth quoting.
Open missions
58 live roles and contracts in SAP Analytics Cloud right now — see the SAP Analytics Cloud missions · freelance SAP contracts.