Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

crm 2011 update - sdk

Posted on 2016-08-23
2
Medium Priority
?
96 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
1 Comment
 
LVL 20

Accepted Solution

by:
Rikin Shah earned 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
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.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

879 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