locked
Whats the basic difference between Parent pipeline and child pipeline? RRS feed

  • Question

  • Whats the basic difference b/w Parent pipeline and child pipeline? as from the faisal's code, i dont see much of differences....can you guys plz elaborate the differece Functionally and technically (code-wise)...?
    Wednesday, June 8, 2011 11:56 PM

Answers

  • "If you want your plug-in to run regardless of whether a Web service call or an (internal) platform call initiated the pipeline, register your plug-in in a child pipeline. However, do not use the IPluginExecutionContext.CreateCrmService or IPluginExecutionContext.CreateMetadataService methods if you are writing code for a plug-in in that is used in a child pipeline. In a child pipeline, you must instantiate the CrmService or MetadataService manually."
    Thanks, - Israel Pradeep, - Software Engineer & PMP & B.I - Entrepreneur, - "If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"".
    • Proposed as answer by Israel Gujjarlapudi Wednesday, June 8, 2011 11:58 PM
    • Marked as answer by KumarXRM Thursday, June 9, 2011 12:00 AM
    Wednesday, June 8, 2011 11:58 PM