![]() |
#1 |
Участник
|
Microsoft Dynamics CRM Team Blog: Manage Auto Save
Источник: http://blogs.msdn.com/b/crm/archive/...auto-save.aspx
============== Applies to: CRM 2013 and CRM Online Fall ‘13 Auto save enables automatic save of records at fixed short interval for update without the need for you to explicitly click on “Save” button every time. Now you don’t need to worry about saving record when you are working on a record for a long time. In this blog we are going to discuss more about this. Auto save of records not only saves an extra click but also reduces chances of data loss in case of any connectivity issues because now records will be automatically saved every 30 seconds. During the save, if there are any validation failures, such as invalid data, or missing required fields, etc. that prevent the save, then an error message will show at footer panel below and the auto save will not proceed. ![]() In CRM by default this feature is turned on for all new and updated organizations. Please note that this is applicable only when updating records. If you are creating a new record then you must explicitly save the record. It will not be auto saved. Auto save capability is not applicable to Quick Create forms or Mobile forms. Also, auto save only applies to the Main form. It is also important to note that this feature is only enabled for entities which are refreshed with new user interface. How to turn auto save on or off There may be situations where you want to disable this capability. Because auto save call goes through normal save pipeline. This means all events associated with the form on-save event will be triggered for auto save as well. Server-side plugins and workflows associated with save actions will also be executed. You may have a scenario where you don’t want save to be triggered automatically at a fixed regular interval. For example, if you have plugins o workflows triggered on the save of a form that have complex business logic associated with them, you might not want them to be called with each auto save. In this case you might want to turn off this setting. In CRM there is an option to turn off this setting which is available in “System settings”.
![]() This is a new field in the organization entity called “IsAutoSaveEnabled” and can be set using the SDK Update method as well. See the CRM 2013 SDK for information on using the Update method. Please note that this feature can only be controlled at organization level. The feature will be turned on or off for all refreshed entities. In our next blog we will discuss on how to control on-save for specific entities or forms. For more information, search for “auto save” in the Customization Guide (within the Implementation Guide). Thanks, Niraj Yadav Microsoft Dynamics CRM Источник: http://blogs.msdn.com/b/crm/archive/...auto-save.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|