Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to set tabs component selected tab based on page paramter dynamically

ABCD88852527207
Tera Expert

Hi Experts,

I created a tab1, with the following tabs:

Tab Name, Tab Id

Taba, taba

tabb,tabb

tabc,tabc

SystemsGo_2-1765532793374.png

 

There's a parameter of the UI Page selectedTab, I set the parameter value to selectedTab=tabc

I would like to when the page loaded, the tabc selected (based on the parameter's value)

 

I config the Selected tab as below.

But it couldn't work. How can I set the selected tab dynamically?

SystemsGo_1-1765532671889.png

 

I referred article: https://www.servicenow.com/community/next-experience-articles/how-to-switch-the-selected-tab-in-a-ta...

set Selected tab value to "id=@context.props.selectedTab" it also couldn't work.

Is there anything wrong with this configuration?

 

 

0 REPLIES 0