Open a form from a ui action on a different form
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 01:10 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 06:20 PM
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