Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 64797

What’s New for Developers in Microsoft Dynamics CRM 2015 Update 1 – Data Synchronization

$
0
0

We love to customize Microsoft Dynamics CRM solutions here at Beringer. We’ve been working with Microsoft Dynamics CRM since its inception, and we’re always finding innovative ways to implement the latest tools and help automate business processes. If you are looking for a certified Microsoft solution partner to help you with your CRM installation, make sure you pick the one that keeps in sync with all of the latest technologies.

There's quite a few new enhancements and capabilities in the Microsoft Dynamics 2015 Update 1 release, including some great new tools for developers. Microsoft has included several new features that make it easier to integrate and synchronize CRM data with external data sources.

You can greatly improve efficiency of code that monitors changes to CRM data by using the RetrieveEntityChangesRequest message included in this release. The new Change Tracking feature provides a way to keep the CRM data stored in an external data source, synchronized in a performant way by detecting what data has changed since the data was initially extracted or last synchronized.

How does it work? First, you need to enable Change Tracking on an entity level basis.

Untitled-1

 

When Change Tracking is enabled for an entity, you can use the RetrieveEntityChangesRequest message to retrieve the changes for that entity. The first time this message is used it returns all records for the entity and that data can be used to populate the external storage. The message also returns a version number that will be sent back with the next use of the RetrieveEntityChangesRequest message so that only data for those changes that occurred since that version will be returned.

How does the code work? The code is very similar to the RetrieveEntityRequest Class:

Untitled-2

The response will return a data token, which represents a point in time snapshot of the data.

 

Untitled-3

 

You can now include this token in your next RetrieveEntityChangesRequest, and retrieve just the change set since your last request.

How will you use this code in your next integration? Feel free to play with the sample code and post your ideas here.  You can check out all of the new developer features by clicking here.

Beringer Associates a leading Microsoft Gold Certified Partner specializing in Microsoft Dynamics CRM and CRM for Distribution. We also provide expert managed IT services, cloud based computing and unified communication systems.

by Beringer Associates

 

What’s New for Developers in Microsoft Dynamics CRM 2015 Update 1 – Data Synchronization is a post from: CRM Software Blog

The post What’s New for Developers in Microsoft Dynamics CRM 2015 Update 1 – Data Synchronization appeared first on CRM Software Blog.


Viewing all articles
Browse latest Browse all 64797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>