Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I have a Plugin that calls an external Web Service on activate quote button click. The process is this below:1. The User clicks on Activate Quote button2. Plugin calls the external web service and gets a return.3. Then, i update one field of all the quotedetails with a new value returned by the web service.
This process have taken more then 5 minutes to complete, sometimes the user needs to wait 10 minutes. This time grows based on number of quotedetails in the Quote.
So, how can i reduce this time to finish that process?
Note: The plugin is running on real time and can't be assync.Note: If the quote have 300 items, so the plugin will run 300 service.Update().
I see you are using crm 2016, instead of running 300 seperate service.update()you can use ExecuteMultiple to put this into batches,this should help speed things up a bit.
heres a link to blogs/documentation that may be of help:msdynamicscrmblog.wordpress.com/.../use-executemultiplerequest-for-bulk-createupdatedelete-using-c-in-dynamics-crm-2011-2
Regards, David Levins
Thanks for the answer.
I tried to use the solution that you said but didn't improve the performance of update.
Some google, and i found this article about ExecuteMultipleRequest, and makes all sense for me.
Any other idea?
Note: I need to do this process on real time, its an business requirement of the customer.
I did all the update process from a async web service.
You can avoid 300 calls of Update method using ExecuteMultipleRequest .
Business Applications communities