Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : ZnTHaXKQ+377x404T5Z0xS
Microsoft Dynamics CRM (Archived)

Auto Save in JavaScript - CRM 2013

Like (0) ShareShare
ReportReport
Posted on 7 Jan 2016 05:38:16 by 3,706

Hi,

I have doubt how to achieve the autosave functionality in javascript. I have concatenated two fields and setting value to another text field,after that I have to save the form.

Can anyone  give some idea how the auto functionality is working behind in CRM.

*This post is locked for comments

  • Kishor Kumar Profile Picture
    Kishor Kumar 3,706 on 07 Jan 2016 at 06:10:08
    RE: Auto Save in JavaScript - CRM 2013

    Hi,

    Thanks  Allwyn Christopher, Mohit Bansal & Mahen.

    Its working perfectly. I got an idea of  autosave functionality also.

    Thanks a lot to all!!

  • Verified answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on 07 Jan 2016 at 05:59:39
    RE: Auto Save in JavaScript - CRM 2013

    Autosave functionality save data after a specified interval of 30 sec automatically, you can enable disable this option at organization level. You go through below KB for more information:

    technet.microsoft.com/.../dn531073.aspx

    blogs.msdn.com/.../manage-auto-save.aspx

    Through java script you can call save method as suggested by others.

    Thanks

  • Allwyn Christopher Profile Picture
    Allwyn Christopher 145 on 07 Jan 2016 at 05:56:44
    RE: Auto Save in JavaScript - CRM 2013

    Hi Kishore,

    By default all main forms for Updated Entities will have auto-save enabled. for more details please refer

    technet.microsoft.com/.../dn531073.aspx

    Thanks and Regards

    Allwyn Christopher

  • Kishor Kumar Profile Picture
    Kishor Kumar 3,706 on 07 Jan 2016 at 05:53:27
    RE: Auto Save in JavaScript - CRM 2013

    Hi Mohit Bansal

    Thanks for your reply.I will check it, how auto functionality is carried out in CRM?

  • Kishor Kumar Profile Picture
    Kishor Kumar 3,706 on 07 Jan 2016 at 05:52:01
    RE: Auto Save in JavaScript - CRM 2013

    Hi Allwyn,

    Thanks for your quick reply!! I would like to know the how auto functionality is carried out in CRM?

  • Verified answer
    Community Member Profile Picture
    Community Member on 07 Jan 2016 at 05:49:51
    RE: Auto Save in JavaScript - CRM 2013

    HI Kishore,

    Use the below command to save the data :

    Xrm.Page.data.entity.save();

    Hope it helps ! Please verify the answer.

    Thanks,

    Mohit

  • Verified answer
    Allwyn Christopher Profile Picture
    Allwyn Christopher 145 on 07 Jan 2016 at 05:45:25
    RE: Auto Save in JavaScript - CRM 2013

    Hi Kishore,

    Hope you know that CRM auto saves the form regularly. To save the form after field concatenation use 'Xrm.Page.data.entity.save();' function. Hope this helps.

    Thanks And regards

    Allwyn Christopher

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,610 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,558 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete