How to keep form open after UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2014 09:58 AM
Hi friends,
I have an UI Action on a form which call a Script Include to manipulate a related table.
When I push the UI Action button it closes the Form returning to the List, but I want the Form to stay open.
My UI Action script is very simple:
var id = current.sys_id;
// Call Script Include to delete and insert new payment records in payment-table.
JAS_car_pool_calc(id);
/Jørgen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2014 12:28 PM
Now I found the solution.
I just added this statement to the end of the UI Action script:
action.setRedirectURL(current);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2024 07:41 PM
thank you, it helped