While importing csv data in dynamics 2011 online, is there any option of updating existing entities instead of creating new ones ?
For example, I have certain custom fields on the Lead Entity (each lead is identified uniquely by email). At some point, an attribute of a lead changes.
Can this new value be imported via csv, also maintaining the other existing lead attributes ?
Thanks.
You might want to take a look at this article, which explains how to use CRM's OrganizationService from Powershell to do the updating for you based on a .CSV file (by the looks of it, it should apply to CRM2011 as well):
MS CRM 2015: Bulk update data using Powershell
What you can do is get Dynamics to provide you with an xml file of your data which you can edit and re-import with changes.
Now you are free to edit your records(s) in an xml file (Excel works nicely) which you can update and then import as standard via Data Management > Imports > Import Data.
Spencerooni's answer is correct so far as native support for what you're asking (edit: and as far as IE9 can take you). To handle external CSVs via the CRM client, though, you will have to do the reading of the CSV and the updating yourself. I can think of one way to do this:
File
object and process the updates to yourLead
s via JScript CRM calls. To process the updates via C#/VB.NET, you can reference the SO question "Call C# Code from Ribbon JScript CRM Online 2011" and its accepted answer.Edit: Forgot to add that to handle any of this, you'll need to upgrade to the IE10 Preview(!). Or wait until CRM 2011 gets multi-browser support. Whichever comes first.