The CRM platform throws an error stating that it has identified an infinite loop. This usually happens after the number of iterations reaches a maximum of 8. We can fix this by adding a depth check at the start of our plugin code, just after we initialize each of the service objects.
The common method to avoid a recurring plugin is to check if a plugins depth > 1. This would stop the plugin from being run if was triggered from any other plugin. The plugin would only run if triggered from the CRM form.
Subscribe to:
Post Comments (Atom)
Featured Post
How to Submit Form Data Dynamically in JavaScript Using FormDataHandler
Form Submission Using FormDataHandler The FormDataHandler class provides various methods to handle form submissions dyn...
-
Merging PDF Files Based on Name Segments in C# In this blog post, we will explore how to merge multiple PDF files using C#. The me...
-
Automating Email with VBA In this blog post, I will walk you through a VBA script that automates the process ...
-
Dynamics CRM Questions and Answers Q251) How do you create and manage multiple forms for a single entity? + T...
No comments:
Post a Comment