« Home | Get selected item(s) in CRM grid » | CrmDateTime conversion to DateTime » | Dynamic generation of Word(.DOCX) file » | Hiding CRM Elements » | CRM 5.0 Features » | Change the default entity in Lookup Window » | Multiple Column Sort in Dynamics CRM » | Display a Google Map for an Account » | ASP.NET Application Deployment Resources » | Visual Studio Error: The project file ' ' has been... »

Finding the pipeline in which plugin is executing

The InvocationSource property is an integer value that you can use to determine whether the current plug-in is running in a child pipeline or Parent pipeline.

MessageInvocationSource Values

Field : Child
Value : 1
Description : Specifies a child pipeline

Field : Parent
Value : 0
Description : Specifies a parent pipeline

Happy Coding...

Labels: , , , , , , , ,

Post a Comment