SAP Analytics Cloud (SAC) is the preferred data analysis tool for many companies. With the help of various graphical elements, you can present your data in SAC in a comprehensible way.
If you want to personalize your reports and present them in your corporate colors, SAC offers a framework that allows you to integrate your specific graphical elements (custom widgets) into SAC.
In our training video and in the text below I explain what you should pay attention to when developing your own Custom Widgets.
- A web server is required for the source files. If you don’t have one yet, I recommend GitHub. This platform is well suited for training purposes.
Once the interface is enabled, you can start configuring it.
Structure of the JSON file
A simple custom widget that also has additional custom properties should contain at least “main” and “styling” data under “Webcomponents” tag.
You can see the structure of a JSON file on the right.
I recommend using a base64 encoded image for the icon. You can convert the image online (e.g.: Base64 Image Encoder)
- onCustomWidgetBeforeUpdate – called before updating the custom widget.
- onCustomWidgetAfterUpdate – called after the custom widget is updated.
- connectedCallback – is called when the widget is added to the HTML DOM of the page.
- disconnectedCallback – called when the widget is removed from the HTML DOM of the page.
- onCustomWidgetResize – called when the size of the custom widget is changed.
Once the development is complete, the custom widget can be loaded into SAC Analytic Applications.
Take control of your data: Mobile reporting with SAP Analytics Cloud or MS Power BI. In this blog we show the strengths of the solutions.
Our training video on the REST API interface in ABAP programming shows how you can transfer data from other data sources to the SAP Business Warehouse (BW) and process it there.
SAP has created a new way to exchange data between Data Warehouse Cloud (DWC) and SAP Analytics Cloud (SAC): OData API.