How to keep form open after UI Action

jas6
Tera Contributor

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

2 REPLIES 2

jas6
Tera Contributor

Now I found the solution.



I just added this statement to the end of the UI Action script:


action.setRedirectURL(current);


Radhu
Tera Contributor

thank you, it helped