We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Can Event Handlers be Created in the UI Builder?

Y_Aoi
Tera Contributor

I am considering creating an event handler in the UI Builder that will allow for navigation within the same tab upon clicking. Is it possible to manually create such an event handler?

1 ACCEPTED SOLUTION

Nootan Bhat
Mega Sage

Hi @Y_Aoi,

You can use the link to destination event on the button use the Script mode.

use the code as below:

	return {
		external: {
			url: "https://developer.servicenow.com/dev.do#!/home",
			target: "_self"
		},
	};

Please accept the solution if it was helpful.

 

Thanks

 

View solution in original post

1 REPLY 1

Nootan Bhat
Mega Sage

Hi @Y_Aoi,

You can use the link to destination event on the button use the Script mode.

use the code as below:

	return {
		external: {
			url: "https://developer.servicenow.com/dev.do#!/home",
			target: "_self"
		},
	};

Please accept the solution if it was helpful.

 

Thanks