How to Use Scripting to Change the Visibility of Widgets in Stories: SAP Analytics Cloud

Estimated read time 1 min read

Post Content

 

​ In this video, you will discover how to use scripting to create buttons that allow users to toggle between a table and chart in a story. This is the second video in the Scripting series.

Chapters:
0:00 Introduction and scenario
0:36 Add button widgets
0:47 Create names and labels or icons
1:23 Update button class names
2:01 Position table and chart and choose default view
2:27 Use setVisible script to show and hide widgets
3:54 Use setCssClass script to help identify the active widget
4:33 Save and view the story

Recommended Help Topics:
• Write Scripts in Script Editor: https://sap.to/6058B6Q1A8
• Use Value Help in Script Editor: https://sap.to/6051B6Q1A1
• Use Script Objects: https://sap.to/6053B6Q1AH
• Optimized Story Experience API Reference Guide: https://sap.to/60582sXdg   Read More SAP Help and Learning 

#SAP

You May Also Like

More From Author