Open Sidebar Tab in UI Builder workspace using Field decorator on the record field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2026 02:10 PM
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"
Here is the field decorator that is showing :
Below is the contextual side bar
On Ui builder contextual side bar i have new tab called G maps with id "g_map_1 ".
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
@Kachu were you able to come up with a solution for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
No. I have not i have tried multiplething but did not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
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
