Issue in opening a record on click of a record in Record List in UI Builder Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I am using the Record List to display the list of records in the UI Builder Workspace and i have created a row focused event to open a record on click but it is not working. I am unable to bind the table&sysid values accurately.
- Labels:
-
UI Builder : Next Experience
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Ensure you have assigned a navigation handler to the Row clicked event on your list component. This is necessary for the record to open when a row is selected.
- When binding the event, map the event's payload (such as table and sys_id) to the navigation handler so it knows which record to open.
- Confirm that your event mapping correctly passes the required values (table and sys_id) to the handler.
- If you are using a client script, ensure it is mapped as an event handler for the component and that it receives the correct parameters from the event context
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@RitheshB thanks for response , i have added the row focused event and i have added the link to destination handler which open the record page , issue here is in params table & sysid , I am unable to pass table&sysid values from the event payload thats the issue.
Note : I am using Record List(Presentation List) Component not simple list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- In the Events tab of your component, add an event mapping for the row-focused event.
- Add an event handler and select "Link to destination."
- When configuring the destination, for each required parameter (such as table and sys_id), use the corresponding event payload value, e.g., set the parameter to @payload.table and @payload.sys_id.
- If the payload value does not match the parameter name, refer to the component's configuration or API documentation to identify the correct @payload.* value.
- Ensure the destination page is set up to consume these parameters using @context.props.<parameter-name> 1.
- For advanced scenarios, you can bind data in the route fields using {table: @payload.params.table, sys_id: @payload.params.sys_id} as shown in drilldown event examples
