SAP Analytics Cloud Custom Widget Developer Guide
SAP Analytics Cloud Custom Widget Developer Guide
Content
Introduction
Web Components
Restrictions
Hosting Custom Widgets
Quickstart - Creating a New Custom Widget
Getting a Sample Custom Widget
Modifying the Sample Custom Widget
Uploading a Custom Widget to SAP Analytics Cloud
Deleting Custom Widgets from SAP Analytics Cloud
Custom Widgets
Custom Widget JSON Reference
Web Component JavaScript
Using Script API Data Types in JavaScript Functions
Importing Script API Data Types with Type Libraries
Using Data Bindings
Styling Panel
Builder Panel
A Sample Custom Widget: Colored Box
Custom Widget JSON
Web Component JavaScript
Web Component JavaScript of the Styling Panel
Web Component JavaScript of the Builder Panel
Custom Widgets on Mobile Devices
Exporting Custom Widgets
Enabling Linked Analysis for Your Custom Widget (Optimized Story Experience)
Enabling Viewport Loading for Your Custom Widget (Optimized Story Experience)
Enabling Lite Viewer Support for Your Custom Widget (Optimized Story Experience)
Configuring Bookmark Support for Your Custom Widget (Optimized Story Experience)
Best Practices
Dispatching a Property Change
Calling Methods of Passed Objects of Script API Types
Implementing Property Setter and Getter Methods Consistently
Returning Arguments by Value and by Reference
Custom Types