<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx</link><description>CRM 4.0 enhanced the concept of plug-ins (called callouts in earlier versions). Plug-in’s are now supported on lot of messages. Plug-in model is actually a 1:1 mapping of Messages and Requests. In order to automate the business logic through a plug-in</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>MSDN Blog Postings  &amp;raquo; Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8102780</link><pubDate>Fri, 07 Mar 2008 20:25:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8102780</guid><dc:creator>MSDN Blog Postings  » Developing Plug-ins for CRM 4.0</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://msdnrss.thecoderblogs.com/2008/03/07/developing-plug-ins-for-crm-40/"&gt;http://msdnrss.thecoderblogs.com/2008/03/07/developing-plug-ins-for-crm-40/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8112512</link><pubDate>Sat, 08 Mar 2008 15:58:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8112512</guid><dc:creator>Philippe</dc:creator><description>&lt;p&gt;What message do i use if i want to execute my plugin when an associated entity (in case of N-N relationship) is added. The update message does not work on this one.&lt;/p&gt;
&lt;p&gt;thanx&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8139116</link><pubDate>Tue, 11 Mar 2008 01:45:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8139116</guid><dc:creator>Ajith Gande</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;AssociateEntities Message is used to associate 2 entities when a N-M relationship is created on them. This message is not Valid for Plugins. So you cannot catch this event in the Parent pipeline.&lt;/p&gt;
&lt;p&gt;Since the intermediate object that gets creates is not a first class entity in CRM, you cannot register Create Message on them.&lt;/p&gt;
&lt;p&gt;Sorry, you cannot catch the operation for those reasons.&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8139151</link><pubDate>Tue, 11 Mar 2008 01:47:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8139151</guid><dc:creator>Ajith Gande</dc:creator><description>&lt;p&gt;Associate Entities Message is not valid for Plugins. Update will not catch the Event when the entities are associated. So Plugins cannot be used for catching this operation in CRM.&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8283285</link><pubDate>Mon, 17 Mar 2008 11:03:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8283285</guid><dc:creator>mthulisi</dc:creator><description>&lt;p&gt;I want to write a plugin that fires when a new quote is created.The plugin is supposed to run through a piece of code and then return with a qoute number from a folder in the file server.The quote number is supposed to update the quote number field.Previously in CRM 3 we were using Xml to do this.How can i do it in &amp;nbsp;CRM 4.0?&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8326130</link><pubDate>Wed, 19 Mar 2008 22:22:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8326130</guid><dc:creator>Ajith Gande</dc:creator><description>&lt;p&gt;In CRM 4.0 the Xml is in the form of a DynamicEntity just like the quotedetail entity. You need to update the DyanamicEntity to achieve this functionality. &lt;/p&gt;
&lt;p&gt;Context.InputParameters is a property bag that has the input request. Get the DynamicEntity from it as mentioned in the Blog and the samples. After that update the dynamic entity in PreCallout.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ajith&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8374408</link><pubDate>Thu, 10 Apr 2008 12:59:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8374408</guid><dc:creator>mthulisi</dc:creator><description>&lt;p&gt;How do you make web service calls to CRM when you register a plugin in a child pipeline?All &amp;nbsp;i want to do is to retrieve the user details from CRM.&lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;
&lt;p&gt;Mthulisi&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8375151</link><pubDate>Thu, 10 Apr 2008 18:23:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8375151</guid><dc:creator>Kristoffer</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I have a plugin that sets the email.to property to a certain address if you have set a ‘send as SMS’-flag on the form. Which messages do I need to register the plugin on to cover all send email scenarios? I have manage to get it to work on ‘normal send’ but not on quick campaign email sends… Right now it’s registered on the post create email. If I get it to work I promise to share the code &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;/Kristoffer&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8375374</link><pubDate>Thu, 10 Apr 2008 19:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8375374</guid><dc:creator>Ajith</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;We do not recommend contatcing CRM in Child pipeline but if it is a must you can do using the code i mentioned in the PluginHelper.cs in the download. (Create your own proxy)&lt;/p&gt;
&lt;p&gt;LogContextToCRM plugin demontrates the feature.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ajith&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8392844</link><pubDate>Mon, 14 Apr 2008 17:29:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8392844</guid><dc:creator>SyraJohn</dc:creator><description>&lt;p&gt;I'm writing my first plug-in for CRM 4.0. &amp;nbsp;I'm trying to target the Account class and I'm attempting to update the AccountNumber property. &amp;nbsp;I've followed the SDK sample code and I'm making sure that the context's Target property is an Account (entity.Name = EntityName.account.ToString).&lt;/p&gt;
&lt;p&gt;Can I update the property of the context's target or do I have to use ICrmService to retrieve an account object?&lt;/p&gt;
&lt;p&gt;Would this code work (entity is a local DynamicEntity and set to the context's Target property) : &lt;/p&gt;
&lt;p&gt;If entity.Properties.Contains(&amp;quot;accountnumber&amp;quot;) Then entity.Properties(&amp;quot;accountnumber&amp;quot;) = &amp;quot;ALFKI&amp;quot;&lt;/p&gt;
&lt;p&gt;I've used the PlugIn Registration Tool and my plugin shows up in the tool. &amp;nbsp;However, I'm not getting any feedback and it's not working. &amp;nbsp;I've tried registering it to Pre Stage and Post Stage but neither results in the AccountNumber field getting set to the value in my code.&lt;/p&gt;
&lt;p&gt;Any thoughts or links are appreciated. &amp;nbsp;I'm not sure how to debug this code.&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8398851</link><pubDate>Wed, 16 Apr 2008 13:13:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8398851</guid><dc:creator>AD</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;I am developing a plugin that will trigger on the setstateDynamicentity. How can I get the entity ID. &lt;/p&gt;
&lt;p&gt;the target parameter does not seem to work???&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8408814</link><pubDate>Fri, 18 Apr 2008 22:14:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8408814</guid><dc:creator>emily</dc:creator><description>&lt;p&gt;does anyone know how to insert a 'group' into the cc' field, when mass emailing?&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8409460</link><pubDate>Sat, 19 Apr 2008 03:40:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8409460</guid><dc:creator>Rich</dc:creator><description>&lt;p&gt;I am trying to re-use some 3.0 code where I got the pre and post XML. &amp;nbsp;I thought using the preimage and postimage would get me that but it is empty. &amp;nbsp;I used your tool to register the plug in and I see all of the existing properties in the target part of the inputparamters. &amp;nbsp;Am I out of luck????&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Rich&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8417169</link><pubDate>Tue, 22 Apr 2008 23:14:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8417169</guid><dc:creator>Ajith Gande</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Look at the PluginHelper.cs which has the deatils on getting the entity id.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ajith&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8417174</link><pubDate>Tue, 22 Apr 2008 23:21:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8417174</guid><dc:creator>Ajith Gande</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Regarding Setting the AccoutnNumber. Register the Plugin on PreCreate. Now get the InputParameters Property bag and update the account number. If you created the account without AccountNumber then you need to add the AccountNumber to the property bag. Once you update the InputParamters it would be created.&lt;/p&gt;
&lt;p&gt;DynamicEntity accountEntity = (DynamicEntity)context.InutParamters[&amp;quot;Target&amp;quot;];&lt;/p&gt;
&lt;p&gt;accoutnEntity.Properties.Add(new CrmNumber(&amp;quot;accountnumber&amp;quot;,1));&lt;/p&gt;
&lt;p&gt;Try using the new_PluginContext &amp;nbsp;and LogPluginContext plugin to know what is being passed in the plugin.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ajith&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8417175</link><pubDate>Tue, 22 Apr 2008 23:22:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8417175</guid><dc:creator>Ajith Gande</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;In CRM 4.0 , you need to use Context.PreImages and Context.PostImages property bags. They have Images that registred as. Look at the samples in the download&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ajith&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8438497</link><pubDate>Tue, 29 Apr 2008 20:47:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8438497</guid><dc:creator>Nick</dc:creator><description>&lt;p&gt;Thanks Ajith, your plugin samples were very helpful and answered my questions perfectly!&lt;/p&gt;
&lt;p&gt;Keep up the good work!&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8451634</link><pubDate>Fri, 02 May 2008 22:14:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8451634</guid><dc:creator>vinaykotagiri</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I have a Custom Entity in CRM 4.0 named abc_MarketingDownload. &lt;/p&gt;
&lt;p&gt;Can i create a Plug-in on Post Create Message for this Custom Entity.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;vinay&lt;/p&gt;
</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8456317</link><pubDate>Sat, 03 May 2008 23:16:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8456317</guid><dc:creator>Ajith</dc:creator><description>&lt;p&gt;Viney&lt;/p&gt;
&lt;p&gt;yes you could create Post Create on this entity. Plugin Registration tool shall list this custom entity in the Primary Entity List on the step registration form.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ajith&lt;/p&gt;</description></item><item><title>re: Email Send message</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8531551</link><pubDate>Thu, 22 May 2008 12:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8531551</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;- Kristoffer,&lt;/p&gt;
&lt;p&gt;Have you tried using the email 'Send' message.&lt;/p&gt;
&lt;p&gt;I've used it to modify an email just prior to it being sent from CRM and it works fine, although I'm having problems using it on emails generated from a campaign activity, so if anyone has any suggestions...&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ben.&lt;/p&gt;</description></item><item><title>re: Email Send message</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8623037</link><pubDate>Thu, 19 Jun 2008 23:43:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8623037</guid><dc:creator>AjithG</dc:creator><description>&lt;p&gt;Hi Ben/ Kristoffer&lt;/p&gt;
&lt;p&gt;You can listen to the calls made by CampaignActivity by listening to the Child Pipeline of Email Create. Well, you might not be interested in the Create since you want to do special logic only on the Send. Since Campaign activity creates these e-mails, you can check for the parentContext.MessageName =ProcessOneMemberBulkOperation and then process the business logic on the e-mail being created.&lt;/p&gt;
&lt;p&gt;You can always hook up same logic to Send so that it is covered when people update the e-mail and click Send from the UI.&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8791196</link><pubDate>Wed, 30 Jul 2008 11:10:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8791196</guid><dc:creator>Ludi</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;How can a plugin to execute in within the CRM database transaction,for example,when create a account i need to check SAP ERP if this account have already exist.if not,cancel the create.&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#8994127</link><pubDate>Fri, 10 Oct 2008 14:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8994127</guid><dc:creator>Chandima</dc:creator><description>&lt;p&gt;Hi Ajith ,&lt;/p&gt;
&lt;p&gt;I am developing a plugin to change the Status of Opportunity entity once it converts to the Quote entity. &lt;/p&gt;
&lt;p&gt;I found that plugin doesn't fire when I register it on Post OnCreate method of the Quote. &lt;/p&gt;
&lt;p&gt;Simply I want to chnge the statuscode to &amp;quot;Quoted&amp;quot; of Opportunity when it creates Quote.&lt;/p&gt;
&lt;p&gt;Could you help please....&lt;/p&gt;</description></item><item><title>Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9095400</link><pubDate>Sat, 15 Nov 2008 14:27:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9095400</guid><dc:creator>Blog di Giorgio Garcia-Agreda</dc:creator><description>&lt;p&gt;Developing Plug-ins for CRM 4.0&lt;/p&gt;
</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9132882</link><pubDate>Sat, 22 Nov 2008 20:55:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9132882</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;i am trying to develop a plugin that updates an account. The issue is I also have a retrieve and a field is being updated in the retrieve. Is there any way i can know where the call came from... ie if its a true retrieve ie opening a form or from an update?&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9525836</link><pubDate>Wed, 01 Apr 2009 11:29:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9525836</guid><dc:creator>Pradeep</dc:creator><description>&lt;p&gt;How to abort the Plug-In Execution in middle?&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9558652</link><pubDate>Tue, 21 Apr 2009 11:41:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9558652</guid><dc:creator>Rudy</dc:creator><description>&lt;p&gt;How can i register a plugin on a many to may relationship. I have account n:n brands, and when i add a new account_brand, i need to know this. Can someone help me ?&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9700274</link><pubDate>Fri, 05 Jun 2009 00:05:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9700274</guid><dc:creator>Uma Maheswari Anbazhagan [MSFT]</dc:creator><description>&lt;p&gt;Hi Robert,&lt;/p&gt;
&lt;p&gt;I am a little confused as to whether you are trying to register the plugin on update or retrieve. Can you please provide more details on your scenario? &lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9700348</link><pubDate>Fri, 05 Jun 2009 01:09:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9700348</guid><dc:creator>Uma Maheswari Anbazhagan [MSFT]</dc:creator><description>&lt;p&gt;Hi Chandima,&lt;/p&gt;
&lt;p&gt;If the plugin is registered on parent pipeline of Create Quote, it will not be trigerred since creating a quote from opportunity internally uses a different message than create quote. Register it on the child pipleine of create quote and it should work.&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9701652</link><pubDate>Fri, 05 Jun 2009 20:14:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9701652</guid><dc:creator>Uma Maheswari Anbazhagan [MSFT]</dc:creator><description>&lt;P&gt;Hi Pradeep,&lt;/P&gt;
&lt;P&gt;To abort the Plug-In Execution in middle:&lt;/P&gt;
&lt;P&gt;1) If you have a plugin registered on some event/message (say account create), and if you don't want the plugin to execute while the account is created, you need to disable the plugin.&lt;/P&gt;
&lt;P&gt;2) If you want the plugin to be trigerred and but abort it while the plugin is being executed, you can throw exception from plugin code. &lt;/P&gt;
&lt;P&gt;2) If you want the plugin that doesn't throw any exception, to be trigerred and but need to abort it while the plugin is being executed, there is actually no way to it if the plugin is registered in synchronous mode. If it is an asynchronous plugin, you can go to system jobs and try to cancel it. But its tricky and can be done only if the aysnc job has not completed already.&lt;/P&gt;
&lt;P&gt;I would like to know your scenario to provide better guidance.&lt;/P&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9769330</link><pubDate>Wed, 17 Jun 2009 16:33:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9769330</guid><dc:creator>Peter</dc:creator><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am closing an opportunity and changing its status as "Won", and on the status as "Won", I want to create a new record in custom entity by using the properties of Opportunity.&lt;/P&gt;
&lt;P&gt;The problem is that I am not able to get any pre or post entity image in Win Step. So, if I do not have any image, then no properties and hence I am unable to create record in custom entity.&lt;/P&gt;
&lt;P&gt;Do let me know how can we get any image there or to get the properties of Opportunity?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9853046</link><pubDate>Thu, 30 Jul 2009 11:09:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9853046</guid><dc:creator>Krutika Suchak</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To register a plug- in, a user should be a part of deployment admin group right?&lt;/p&gt;
&lt;p&gt;I want the list of users who has been added in deployment administrators group. Is it possible through webservice? If so what request should be made to retrieve it?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Krutika&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9853048</link><pubDate>Thu, 30 Jul 2009 11:11:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9853048</guid><dc:creator>krutika.suchak</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To register a plug- in, a user should be a part of deployment admin group right?&lt;/p&gt;
&lt;p&gt;I want the list of users who has been added in deployment administrators group. Is it possible through webservice? If so what request should be made to retrieve it?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Krutika&lt;/p&gt;
</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9890884</link><pubDate>Thu, 03 Sep 2009 16:33:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9890884</guid><dc:creator>Giles Clapham</dc:creator><description>&lt;p&gt;I'm trying to call a third party web service from within my plugin but it keeps saying it can't find the Endpoint.&lt;/p&gt;
&lt;p&gt;As there is not going to be a config file available for it to read I've saved them as string variables.&lt;/p&gt;
&lt;p&gt;Now how do I pass that data to the call? &amp;nbsp;I've looked at the override methods when I call the service esp. Binding, Address but it still doesn't find the endpoint.&lt;/p&gt;</description></item><item><title>re: Developing Plug-ins for CRM 4.0</title><link>http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx#9938815</link><pubDate>Fri, 18 Dec 2009 17:04:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9938815</guid><dc:creator>Naga</dc:creator><description>&lt;p&gt;I am trying to get the parent entityid while creating a child entity.&lt;/p&gt;
&lt;p&gt;Here is my post: &lt;a rel="nofollow" target="_new" href="http://social.microsoft.com/Forums/en/crmdevelopment/thread/fdbdb5bf-c856-4d83-a166-fc624b893a9e"&gt;http://social.microsoft.com/Forums/en/crmdevelopment/thread/fdbdb5bf-c856-4d83-a166-fc624b893a9e&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;could you please let me know your comments?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>