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

 

3 REPLIES 3

reviest
Tera Contributor

@Kachu were you able to come up with a solution for this?

No.  I have not i have tried multiplething but did not work

 

NagaChandaE
Mega Sage

Hi @Kachu ,

I think the client script is wrong .

Go through the below article it will open a popup when click on field decorator done through ui builder . Instead of opening modal do set client state parameter .
UI Builder Deep Dives: Field Action Decorator