Dataverse: How the RelatedEntities Plugin Works


The article discusses the performance of the RelatedEntity's plugin compared to normal creation in Dynamics CRM. It provides code examples of plugins that demonstrate how they work. The article also explores the use of CreateMultiple and its potential for improving performance. The author shares their observations and findings, including the order in which the plugins are triggered and the creation of parent and child entities. They conclude that the RelatedEntities plugin is called for each row instead of once for the entire collection, and that logic outside of the plugin is needed for collection operations. The article provides insights and learnings for working with plugins in Dynamics CRM.


Article 13m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time