Symptom
When applying the .onSelect event on some of the input controls, the event is not called.
Environment
SAP Analytics Cloud Optimized Experience Story.
Reproducing the Issue
- Create an input control, click to edit the .onSelect event.
- Write a simple script 'console.log("hello");'.
- Run the story, open F12 to check the console logs.
- The "hello" log is not generated.
Cause
Please check whether the input control is supported with the .onSelect event.
The onSelect event is only supported for dimension member input controls and calculation input controls, while not supported for other types, such as range filters and dimension input controls.
Resolution
By design. This is documented in: Optimized Story Experience API Reference Guide (Latest Quarterly Version)
For other restrictions in ODE story, please check:
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening an case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud > Learning > Data Connections
- SAP Analytics Cloud > Learning > Guided Playlists
- SAP Analytics Cloud > Learning > Guided Playlists > Getting Support
- Need More Help? Contact Support or visit the solution finder today!
Keywords
onSelect, script, support, input control, filter, calculation, calculated measures , KBA , LOD-ANA-UNS-SCR , Unified Story Scripting related Issues , LOD-ANA-AD , Analytics Designer , Problem