How to Use Scripting to Change the Visibility of Widgets in Stories (2 of 5): SAP Analytics Cloud

Estimated read time 2 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
0:39 Add button widgets
0:58 Create names and labels or icons
1:28 Update button class names
2:10 Position table and chart and choose default view
2:32 Use setVisible script to show and hide widgets
3:37 Use setCssClass script to help identify the active widget
4:20 Save and view the story

Recommended Help Topics:
• Write Scripts in Script Editor: https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7/2560f7cb6c2745dab84d2e12652a12b4.html
• Use Value Help in Script Editor: https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7/407bdedb4fd74f3aa2a3bd7b8b8d812e.html
• Use Script Objects: https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7/c3993b39e8564fe3aad3dadae90f2e7e.html
• Optimized Story Experience API Reference Guide: https://sap.to/60582sXdg   Read More SAP Product Help and Training 

#SAP

You May Also Like

More From Author