on 2023 Nov 23 3:19 PM
Hi All,
I am using a dimension input control in my application based on the selection I want to write further scripts based on the conditions I will add.
However, the challenge is SAC is not able to read selected members from Dimension Input control although it doesn't gives error but on running the story runs into error
Script : var x= Dimension_Inp_Control_name.getInputControlDataSource().getActiveSelectedMembers();
Error:

As a workaround I will have to instead use a radio button and set the filters on the respective widget via scripting.
But it is strange that a functionality which is standard is not enabled to work like any other input control.
Does anyone have a better workaround ??
Thanks in advance
Request clarification before answering.
desan28
desan28The Inputcontrol.getInputControlDataSource().getActiveSelectedMembers(); is not supported for all Input controls. As a workaround, may be you could get the dimension control to affect a table (hidden) and may be read the table resultset to use it further.
Br.
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nikhil,
Thanks for this, it works. Now I have to Compute a logic on the value selected in the Input control captured in the script variable and display it . I tried the same on ON initialization and ON Active, But it is not working .
When I select value in the input control The logic is not executed. Could you guide where this piece of logic needs to be written.
Regards
Akshay
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.