Autosaving a Record in CRM 2011

Tuesday, May 31, 2011

Sometimes to make things flow in CRM, you may want a record saved to allow you to have access to related records. Here is a little script that will help you save records automatically on a field change.

If you add this as a Web Resource and call the Function VollmerSaveRecord on an OnChange, it will auto save the record.

Searching the SDK for this will also turn up several different options including Save and Close as well.

Enjoy!

function VollmerSaveRecord() 
{
Xrm.Page.data.entity.save; 
}
Tags:
Filed Under: Demo Code

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading