UI Builder - Open a record in a workspace view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2023 11:40 PM
Hello,
I have added a simple list component in my configurable workspace. Now, I wanted to open the record in the workspace view that has a limited number of related lists. I have added View as the required parameter and set the value of this parameter to the workspace using the row clicked->link to destination event mapping. However, it is not working as expected and the record is still getting opened in the same default view. Is there any other way to achieve this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 01:50 AM
Hi @KushalT ,
I'm not sure how you are setting the view property in 'record' page.
May be you can use the alternative way in Row clicked event. Change the mode to script and add below lines:
function evaluateEvent({api, event}) {
return {
external: {
url: `${event.payload.table}.do?sys_id=${event.payload.sys_id}&sysparm_view=workspace`,
target: '_self'
}
};
}
If details shared on how you are using 'view' parameter on 'record' page further debugging can be done.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 01:58 AM
@Nootan Bhat I believe that your solution will open the record in the backend view, not in the workspace itself. As far as the View parameter is concerned, I have added this as a required parameter, but I don't think that it will gonna work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 02:04 AM
@KushalT can you share the screenshot for the page 'record'?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 10:16 PM - edited 05-10-2023 11:16 PM
@Nootan Bhat: You need to switch mode to form mode.
then add table and sys_id and view name as per mentioned below in screenshot 2.It will open record in Service operations workspace.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 02:23 AM
Here are some snapshots of the Home page.