Skip to Content

Set a new tab visible from another tab using Script in SAC analytics designer

Hello Gurus,

I Need to display a tab automatically after the activation of a script in SAC analytical application. The new tab contains the chart that is filtered to the details with the triggering of the script in the first tab.

I hope It is clear.?

A script is activated in a tab to filter for details in a second tab. I need to display the second tab automatically after the execution of the script in the first tab and finding difficulty doing this. Can anyone be of help please?

Thanks for the help in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Nov 01, 2019 at 05:31 PM

    Hi Bright,

    For this use case, you need to use a tab strip component. In this example, I add a button on Tab_1 of the tab strip and enter the following line of code to the OnClick event:

    TabStrip_1.setSelectedKey('Tab_2');

    'Tab_2' is the text string of the name of the tab that you want to jump to.

    Now when you execute the application, clicking on the button will let the user jump to tab 2.

    Kind regards,

    Martijn van Foeken | Interdobs


    tabstrip.jpg (65.0 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 04, 2019 at 08:45 AM

    Great answer.. thank you martin you gave me the answer in time for my presentation. appreciate it..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.