- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2019 03:22 AM
how to save the form using ui action in client script,i have one button when i click that button how the form is save?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2019 03:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2019 03:28 AM
Paste your script here please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2019 03:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2019 03:38 AM
You cannot mix client script and server script, Make the following changes.
g_form.setValue('u_status', '2');
g_form.save();
Note: Make sure your have Manager role and its spelling is correct.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2021 04:52 AM
Hi Alikutty Abdulrazak,
I used g_form.save(); in UI action my form got saved, but list view its not updating the values for example
assign to is---> xyz Name i click on UI action-> ABC request form got changes to ABC request form and assign to is empty ....> upto this is correctly working .
Now i came back to list view and refresh the state changes to ABC request but assign To is showing xyz Name , instead of 'empty' .
If you know help me in this.
Thank you,
Regards,
Pavana

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2019 03:44 AM
If your button function is just to set the status, I would use server sideUI action
Here is the script
current.u_status = '2';
current.update();