Solved

crm 2011 update - sdk

Posted on 2016-08-23
2
56 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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 …

751 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