Plugin, Workflow, and JavaScript

Plugin, Workflow, and JavaScript Questions

  • What is a plugin? When you can use the plugin in your application.
  • At which scenario you will use Custom workflow and Plugin?
  • When to use plugin and when to use workflow
  • How to register plugin? What are the plugin registration steps?
  • Explain the plugin registration tool. Name the stages in Plugin, like 10, 20, 30, etc?
  • Execution orders in Plugin
  • Explain Plugin Pipeline Stages?
  • What is Invalid Plugin Execution Exception?
  • What is isolation mode in the plugin
  • What is Sandbox plugin
  • Can we register sandbox mode in the on-premises plugin
  • What is Pre-validation, Pre and Post operations in Plugin? Explain with scenarios.
  • Example scenario for pre-validation
  • Plugin Deployment in Online CRM
  • What are different ways of debugging plugin? (In CRM online as well as On-Premise). 
https://crmbusiness.wordpress.com/2015/11/19/crm-2013-step-by-step-guide-to-remote-debugging/
https://www.youtube.com/watch?v=bg4N_57W-MA 

https://www.youtube.com/watch?v=zTM2l-J6opk 





  • What will be the value of the field if the plugin is registered as PreOperation and Image is PostEntityImage?
  • What will be the value of the field if the plugin is registered as PostOperation and Image is PreEntityImage
  • What value be filed if the plugin is registered as PostOperation and difference between Target and Post and Pre Image.
  • Depth concept in the plugin, Parameter passing, Secured and Unsecured configurations and differences, Filter by attribute, etc.
  • Can we create a plugin using the class library in visual studio?
  • What will be field value in Pre Operation plugin for PreImage, PostImage, Target?
  • How to use associate and disassociate plugin? (https://www.youtube.com/watch?v=Vmgs5YtHjlg)
  • Shared Variables in Plugin (http://www.toplinestrategies.com/blogs/crm/crm-2015-enhance-your-plugins-using-shared-variables)
  • Context.Depth in the plugin (https://crmbusiness.wordpress.com/2015/07/01/stopping-infinite-plugins-with-parameters-depth-and-parentcontext/)
  • What is the "Context.Shared" variable? ( https://community.dynamics.com/crm/f/117/t/250507)
  • What is impersonate Plugin
  • If you have three operations in one plugin, if an exception has occurred in the third operation means what will happen to other 2 operations? 
  • Suppose if I have changed the field value from 2 to 4 and back to 2 and saved it. I have a plugin registered on Update message.
  • Suppose I have a third-party DLL to be included with my plugin in order to use some of its methods in my plugin. How do we do that? (Strong name any third party assembly to include it  with plugin assembly, you can’t register plugin if your third-party DLL's not strong named)
  • What are the different options (location, Isolation mode) to register the plugin in the plugin registration tool and what is the difference? (Locations: Database, Disk, Gac), (Isolation modes: Sandbox, None)
  • What is the Interface used for Plugin (IPlugin), Custom Workflow Activity (CodeActivity)
  • Explain Plugin scenario that you have done in your project?
  • What is the use of IPlugin Execution Context in MS CRM?
  • Questions related to one of the Projects i.e. Technical description about Plugin for the auto sequence number.
  • Calling custom action in plugin possible? If so how?
  • On account entity name change plugin has been fired can we get the value of account id?
  • Unit testing for CRM plugin (mark)
  • Moles unit testing for plugins
  • On which service the plugin is registered. Ans:- W3wp
  • Plugin Scenarios, Scenario 1: I have account Entity I have Name and Custom Attribute DateFiled. There is a requirement that if Name of the Account changed then Datefield need to be updated
  • Can we run a plugin in "OnLoad" event?
  • How can you Identify by seeing the visual studio solution of Plugin Solution
  • Explain the event execution pipeline for the plugin.
  • What is GAC, why we use GAC to deploy in plugin Storage, using GAC how can we can control Load balancing?
  • How you will call web service in plugin
  • How will you notify error exception in the plugin
  • If synchronous plugin register will revoke the operation on exception?
  • Scenario: In one Custom form you have 3 fields have A, B, and C. You need to add A and B and Update the result in C field (i.e. C=A+ B). To achieve this scenario you are using Plugin means what will be your approach?
  • How will you achieve the Auto Sequence Number using Plugin? (https://www.youtube.com/watch?v=qhfkqeH8cXc )
  • Scenario: You Registered the Auto sequence number plugin on creating of record. Two different users creating the record at the same time then what will happen for sequence and how will you handle this situation.
  • How will you manipulate multiple records from CRM using Plugin?
  • Have you worked with plugin rollback? 
  • If you want to do validation on creating of the Account record. Suppose there are two fields on account say A, B where ever account is created I have check B>A then only I have to Create an account, how will you do it. (In Plugin/Javascript).
  • If the script is used to validate the above scenario, now am creating Account records using 10 external application, will script work on this scenario, if not what is alternative - Sol : Plugin: in which operation it has to register.
  • How to display a message in MVC when the error occurred in plugin while the case is in processing. (related to events).
  • How to get logs when plugin throws an exception. 
  • If you know the logic then how much time you will take to complete Plugins, JavaScript including unit Testing
  • In the Developer Tool Kit, there are 20 plugins and I forgot to check in .cs file of one plugin then how can I identify that missing cs file before deploying the package.
  • When did you use Post Image?
  • How can we run a plugin for other users (we can say it is impersonation) 
  • What is the use of Secondary Entity within the Plugin Registration Tool in MSCRM?
  • Plugin Assembly Table in MSCRM?
  • What is the difference between Real-time workflow and Asynchronous workflow?
  • How to pass a Lookup and Option set field as an Input parameter in Custom workflow?
  • Can we call Asynchronous workflow in Dialog?
  • Can I call workflow inside a dialog?
  • Wait in Workflow.
  • Can we call workflow from JavaScript
  • Explain about custom workflow?
  • How do we debug Custom Workflow Activity?
  • Difference between plugin and workflows?
  • How can you pass parameters to Child Workflow from parent workflow?
  • On which service the workflow is registered.
  • How to create custom workflow & how to register that workflow in MSCRM.
  • Have you worked on a custom workflow?
  • What is the Dialog?
  • Difference between Plugin and Workflow?
  • What is a workflow and when u can use workflows? 
  • When did you use Custom workflow?
  • What is the base class for Work Flow?
  • How to debug Plugin and Work Flow?

Comments