Need to autosave the form through the script include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 04:10 AM
Hi,
I have a requirement where I need to autosave the form through the script include/server side. How can I do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 05:21 AM
Just need to do for one field. If the value in that field changes then it should autosave..I have to do this through server script. Could you suggest how can I do it in script?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 07:15 AM
@SK41 If this is about just one field then you can use a combination of an onChange script +GlideAjax and Script include to save the value of this field on the server side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 11:59 PM
Can you suggest the method or function that auto save in server side script?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 12:11 AM
@SK41 There is no OOTB auto save function available. You would need to use GlideRecord and update() method to update the field on record being shown on the form.