Open a form from a ui action on a different form

DreDay3000
Giga Guru

Hello,

Is there a way to open a form for another table with certain fields available from a UI Action? When those fields are completed, the user can submit and the record is created on that table?

5 REPLIES 5

Sumanth16
Kilo Patron

Hi @DreDay3000 ,

 

The correct API to use is GlideNavigationV3

g_navigation.open(url, target); //Redirects to a new URL.
g_navigation.openPopup(url, name, features, noStack); //Opens a popup window.
g_navigation.openRecord(tableName, sys_id); //Redirects to a record. The record will be displayed in the navigator.

Where ServiceNow API exists it should be used in place of native JS functions.

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda