Solved

crm 2011 update - sdk

Posted on 2016-08-23
2
28 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now