Auto save record using UI Action

VSN
Tera Expert

Hello everyone.

 

i got a requirement to save a  employee record when user click on report UI Action.

i have create a ui action on employee table  it contains a link to navigate to reports.

but here i want functionality to save records before navigating to reports.

for example:- user fill the data in employee table columns and click the report button then the form employee record saved and also user will need to navigate to reports.

simply one button to save record and navigate to report.

1 ACCEPTED SOLUTION

Maddysunil
Kilo Sage

@VSN 

You can write below logic in your client side UI action 

 

 
    g_form.save();
    top.window.location = 'url'; // provide your url here

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thank

View solution in original post

1 REPLY 1

Maddysunil
Kilo Sage

@VSN 

You can write below logic in your client side UI action 

 

 
    g_form.save();
    top.window.location = 'url'; // provide your url here

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thank