how to change the global submit button that it will stay on the current screen ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2024 07:31 PM
i have found the ui action for submit . it kept going back to the previous screen when using it for new incident
// Insert the current record
current.insert();
// Include the ActionUtils såcript
gs.include('ActionUtils');
var au = new ActionUtils();
au.postInsert(current);
// Stay on the current screen
action.setRedirectURL(current);
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2024 11:54 PM
Hi @chercm,
please check try below script:
// Insert the current record
current.insert();
// Include the ActionUtils script
gs.include('ActionUtils');
var au = new ActionUtils();
au.postInsert(current);
// Set the redirect URL to the current record
action.setRedirectURL(current);
Thank you, please make helpful if you accept the solution.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2024 06:24 AM
does not work look like the same as i posted