Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

I would like to change the screen that appears after submitting a catalog item.

bonsai
Mega Sage

I have created a catalog item to be used in the portal.

When you submit the input form for the catalog item, you are usually redirected to a request summary screen.
I would like to change this screen transition.
What I expect is that when I submit the input form, the page at the specified URL will be displayed.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@bonsai 

in the onSubmit catalog client script you can add like this and see

function onSubmit() {
	top.window.setTimeout(myRedirect,2000);
	function myRedirect() {
		top.window.location = "sp?id=xxxxx"; // add your URL here either internal or external one
	}
}

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@bonsai 

is that URL an external one or internal one?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron

@bonsai 

in the onSubmit catalog client script you can add like this and see

function onSubmit() {
	top.window.setTimeout(myRedirect,2000);
	function myRedirect() {
		top.window.location = "sp?id=xxxxx"; // add your URL here either internal or external one
	}
}

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader