Solved

crm 2011 update - sdk

Posted on 2016-08-23
2
39 Views
Last Modified: 2016-10-13
in our crm 2011, we have lead entity and i need to update 50000 records to lead.firstName. This is the only field i need to update.
how can i update it using SDK. I may just need some codes to do.
I can import SDK into visual studio project. This is my first project against crm. so more resources will help

Thanks,

Ricky
0
Comment
Question by:ITsolutionWizard
2 Comments
 
LVL 19

Accepted Solution

by:
Rikin Shah earned 500 total points
ID: 41768545
Hi,

You will need to retrieve all the records through CRM. Based on what value you get for Customer First Name, you will have to update the list of all the records' attribute (first name in your case.).

You can update these records individually in a for loop which is Synchronous way of updating all records and it might take too much of the execution time and server resources.

I would suggest you go for ExecuteMultipleRequest. It gives you the flexibility to execute 1k records at a time in bulk. This is Asynchronous process which is run in background.

Based on your requirements, you will have to update your code.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASCX file or a newer alternative? 1 34
Server Error 11 58
IT Desktop Support 11 66
ASP.NET(C#) Eliminating weekends from a date range 2 33
MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question