how to save a record using UI action. (using script)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 11:39 PM
i want to add save button on a form but the g_form.save(); dosent work please guide me...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 11:49 PM
Hello,
You should use
current.update() for that
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 11:56 PM
If you are looking to save on server side:
use:
current.update();
action.setRedirectURL(current);// if you want to remain on the same page after form saves
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2022 04:06 AM
thnx for action.redirect

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2022 11:07 PM
Awesome!
Feel free to mark correct.
Aman Kumar