Showing posts with label autosave form onchange of any control value. Show all posts
Showing posts with label autosave form onchange of any control value. Show all posts

Monday, 6 February 2023

Auto save form in model driven app

 Auto save form in model driven app on change event on controls

Call below method on any control's change event

function autoSavedData(formcontext)
{
    var frmcontext = formcontext.getFormContext();
    frmcontext.data.entity.save("no");
//below parameter can be passed in save mehtod as per requirement
//no
//saveandclose
// saveandnew
}