163
Views
5
Comments
Solved
Navigation\Tabs StartingTab does not work
Question
Application Type
Reactive
Service Studio Version
11.53.25 (Build 61588)

Navigation StartingTab (ActiveTab) on page load doesn't seems to work. Anyone have solution on this ?

varActiveTab value is 1.

On page load no Active Tab is selected. It only loads the first tab. 

It is only selected when clicked. 

2022-08-03 04-32-50
Ravi Punjwani
Solution

Hi Ahncel,

Remember that the StartingTab parameter's value will be taken from the variable's value, but only that value which is available when the web block is initializing. Meaning if your variable's value is changing OnReady or anytime after OnInitialize, it won't be reflected.

To fix that, you can either configure your value to be available OnInitialize only, or explicitly call SetActiveTab client action (by adding dependency from OutsystemsUI module) to programmatically set the current active tab.

UserImage.jpg
Ahncel

Hi Ravi,

Where can I find the SetActiveTab client action ? Below where the only available actions.

2022-08-03 04-32-50
Ravi Punjwani

Hi Ahncel,

Which version of OutsystemsUI are you using? Try updating if it's an older one.


UserImage.jpg
Ahncel

Hi Ravi our version is 2.6.7.

I got a warning message when updating , is this okay to continue or will it affect other application that use OutsystemUI when updated?

2022-08-03 04-32-50
Ravi Punjwani

It should be fine Ahncel.

It's just that you have some modules in Independent Modules app which will need refreshing their dependencies after installation.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.