We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Open Sidebar Tab in UI Builder workspace using Field decorator on the record field.

Kachu
Mega Sage

Hello community, I have a requirement and i have followed couple of articles for information and were usefull upto an extent.

Requirement :
On Incident table i have Location field  and i have added Ux Field decorator with Client script to set client state parameter called "selectedTab" to  "id=id"

Kachu_3-1770674987152.png

 

Here is the field decorator that is showing : 

Kachu_4-1770674987152.png

 

Below is the contextual side bar

On Ui builder  contextual  side bar i have new tab called  G maps with id "g_map_1 ".

Kachu_5-1770674987153.png

 


I want tab to be open when i click on the field decorator on the location field.

I was able to make this work when i us button and place it inside one of the tabs and click navigates to th map but does not work when the button is on the form. I want it to work from the button and also from the field decorator.

Any help is appreciated. Thanks

 

0 REPLIES 0