SAP Knowledge Base Article - Public

3426678 - The .onSelect event is not working as expected for some input controls in Optimized Story Experience.

Symptom

When applying the .onSelect event on some of the input controls, the event is not called.

Environment

SAP Analytics Cloud 2023.24.2.

Reproducing the Issue

  1. Create an input control, click to edit the .onSelect event.
  2. Write a simple script 'console.log("hello");'.
  3. Run the story, open F12 to check the console logs.
  4. The "hello" log is not generated.

Cause

Please check whether the input control is supported with the .onSelect event.

Currently in Optimized Story Experience, the .onSelect event only works for page filters and calculation input controls, while not supported for other types of input controls.

Resolution

By design.

For more restrictions, please check:

See Also

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

Product

SAP Analytics Cloud 1.0