How to set tabs component selected tab based on page paramter dynamically
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Experts,
I created a tab1, with the following tabs:
Tab Name, Tab Id
Taba, taba
tabb,tabb
tabc,tabc
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?
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