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

Kachu
Kilo 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_0-1770067578897.png

Here is the field decorator that is showing : 

Kachu_1-1770067945046.png

Below is the contexual side bar

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

Kachu_2-1770068028116.png


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

I was able to make this wrok when i us button and place it inside one of the tabs and click navigates to th map but doesnot 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 appriciated. Thanks





0 REPLIES 0