For any business analytics solution, Custom Extensions can add an entirely new perspective to analyze your data. For SAP Analytics Cloud, Custom Widget SDK for Analytics Designer was released in version 2019.20. This blog gives an overview for developers to get started in developing Custom extensions for Analytics Designer in SAP Analytics Cloud.
SAP has also released a development guide with detailed information for developers that could come in handy.
Like other native widgets in SAP Analytics Cloud, the Custom widgets can be added from Insert Menu and configured within the Builder and Styling panel. Users will be able to move and resize Custom Widgets anywhere in the canvas. You can also provide script functions that can be leveraged within Analytics Designer. Apart from the default properties, you can also include customized options within the designer panel.
For developing a Custom Widget, you don’t need any specific tool or IDE. A simple text editor is enough to do the job. But tools like Visual Studio that has clean UI and extensions can be helpful.
To develop a simple component without any property sheet, you only need two files.
- Metadata JSON – It contains the general information about the Custom Widget along with license information, icon location, new prefix name, version number, properties of the component, description of the component and the package name.
- CSS – Takes care of the look and feel of the Custom Widget and the additional properties in Styling panel.
For deploying Custom Widgets in SAP Analytics Cloud, your role needs to have Read/Write/Delete access to Custom Widgets which can be granted by Administrator. Once you have access, you can navigate to the Main Menu and access the Custom Widgets option under Browse.