on 2021 May 14 6:24 AM
Hi,
We have one project requirement - where we need to change table data from one query (model) to another query (model) in SAC Analytics Application based on a drop-down list.
Is there any possibility using the script we can change the table data model dynamically? (We know we can achieve this using multiple tables based on different models and setvisible() method, but we need to try this using only one table).
Thanks,
Girish Lakhani
Request clarification before answering.
Dear girish1052,
it's possible to change the model of a table using the API setModel.
Table_1.setModel("<modelID as string>");
Does this help?
Best regards
Susanne
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Susanne
I would have another question regarding setModel API: when I use it against bex query based model it brings up variable screen immediately - while I would like to set variables via script (right after replacing the model in a table). Is there any way to change this behaviour?
Regards
Rafal
@rafal, I think turn on/off the prompt is now available along with setmodel in Q2_2025 release
User | Count |
---|---|
34 | |
22 | |
16 | |
8 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.