How can I set an event handler so that when clicked it takes me to the contract

joshmorris
Tera Guru

So in UI builder I have used a calendar report on the ast_contract table to show when contracts are expiring. How can I configure a event handler or else so that when I click on the event in the calendar it will take me to the specific contract record.

1 REPLY 1

sherri54
Kilo Contributor

@joshmorris wrote:

So in UI builder I have used a calendar report on the ast_contract table to show when contracts are expiring. How can I configure a event handler or else so that when I click on the event in the calendar it will take me to the specific contract record.


Hello,

You can configure an event handler in UI Builder to navigate to a specific contract record when clicking on a calendar event. Ensure the event carries the contract ID, then use a navigation function like uiNavigation.navigateTo({ target: "record", table: "ast_contract", sysId: recordId }) to direct users to the correct record. If needed, adjust your data source to include contract IDs for seamless navigation.