ExecuteMultipleRequest
All message requests discussed in this chapter up to now work only for one record (except for RetrieveMultiple). If we have to create/update/delete on more than one record, we have to iterate through records and send individual organization message requests for each record, which would take a long time because of Internet latency in the case of Microsoft Dynamics CRM Online. Microsoft introduced a new message named ExecuteMultipleRequest in CRM 2011 UR 12 in December 2012. This message accepts a collection of message requests, which can be a mix of independent CreateRequest, UpdateRequest, DeleteRequest, and other messages.
It executes each request in the order it appears in the collection. Each message request is processed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access