Repurpose the New Button on related list

rahul101
ServiceNow Employee
ServiceNow Employee

Is there a way to configure the new button available on any related list.

I would like the new button on a related list to redirect to a UI Page instead of the form that is usually generated using the table.

I also need to be able to send certain data to the UI Page.

Thanks,

1 ACCEPTED SOLUTION

manikorada
ServiceNow Employee
ServiceNow Employee

Rahul,



The Global UI Action 'New' is located at : https://<instance_name>>.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=7b37cc370a0a0b34005bd7d7c7255583



Now, on this select the table which you need and do a 'Insert and Stay' this will override the Global New button and in the script have something like:


action.setRedirectURL(<<ui_page>>.do);


View solution in original post

2 REPLIES 2

manikorada
ServiceNow Employee
ServiceNow Employee

Rahul,



The Global UI Action 'New' is located at : https://<instance_name>>.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=7b37cc370a0a0b34005bd7d7c7255583



Now, on this select the table which you need and do a 'Insert and Stay' this will override the Global New button and in the script have something like:


action.setRedirectURL(<<ui_page>>.do);


rahul101
ServiceNow Employee
ServiceNow Employee

Thanks Mani, Works well.