Friday, 27 June 2014

Plugin pre-stages - some subtleties

The CRM SDK describes the main differences in plug stages here. However, there are some additional differences between the pre-validation and pre-operation stages that are not documented.

Compound Operations
The CRM SDK includes some compound operations that affect more than one entity. One example is the QualifyLead message, which can update (or create) the lead, contact, account and opportunity entities. With compound operations, the pre-validation event fires only once, on the original message (QualifyLead in this case) whereas the pre-operation event fires for each operation.
You do not get the pre-validation event for the individual operations. A key consequence of this is that if, for example, you register a plugin on pre-validation of Create for the account entity, it will not fire if an account is created via QualifyLead. However, a plugin on the pre-operation of Create for the account entity will fire if an account is created via QualifyLead.

Activities and Activity Parties
I've posted about this before, however it's worth including it in this context. When you create an activity, there will be an operation for the main activity entity, and separate operations to create activityparty records for any attribute of type partylist (e.g. the sender or recipient). The data for the activityparty appears to be evaluated within the overall validation - i.e. before the pre-operation stage. The key consequence is that any changes made to the Target InputParameter that would affect an activityparty will only be picked up if made in the pre-validation stage for the activity entity.

46 comments:

  1. great information this really useful article for microsoft dynamics learners really interesting keep it well going
    Microsoft Dynamics CRM Training

    ReplyDelete

  2. Excellent site you’ve got here.. It’s difficult to find excellent writing like yours nowadays. I honestly appreciate people like you! Take care!!
    SAP APO Online Training

    ReplyDelete
  3. We are expert and professional in ms crm series. Here are option for the all these articles Microsoft Dynamics CRM blog : Ms crm 2011 , 2013 and 2015 step by step tutorial of ms crm error in mscrm plugin workflow ms crm javascript Code .

    ReplyDelete
  4. Hello! Thank you so much, it's very important to know some additional differences between the pre-validation and pre-operation stages. I think it will be extremely useful for me, because I've used only dynamics ax and now I'm learning other business systems.

    ReplyDelete
  5. I found some useful information in your blog, thanks for sharing this great topic.
    The leading online coaching supplier offers numerous courses on the various technical platform.
    oracle fusion online training

    ReplyDelete
  6. Hi,
    Glad I found your site, this is an eye-opener for marketers. We are proud to be a solution provider for a diversified customer database, ranging from the small, medium technology firms to the giant multinationals. Generate more revenue with email marketing, b2b marketing, list solutions & market research services. Microsoft Dynamics CRM Users Email List

    ReplyDelete
  7. Hi,
    Very useful and informative article you have been provided to us.Thanks for sharing such a good article and sharing your knowledge with your users.
    Thank you.
    Oracle EBS Online training

    ReplyDelete
  8. Hello! Thank you for providing this information! I like your blog and think it's very useful if you want to know all the news about AxadSystem

    ReplyDelete
  9. Hello David

    In search of my theory, I found your article very interesting. Especially the examples which you have given made the article very informative and the way you wrote is really nice and easy to understand I thank you so much for providing the info on oracle fusion financials training

    ReplyDelete
  10. Thanks for posting this blog. This was a very interesting blog, I felt comfortable while reading this post, thank you.................To find Best Training institutes can search in our Calfre.com it is very easy to find the complete details about all Training's Centres

    ReplyDelete
  11. HI DAVID.
    I was looking everywhere because i had this doubt that wasn't finding any solutions to. But your article helped me a lot. Thank you so so much.

    http://www.etechspider.com/microsoft-to-stop-skype-support.html

    ReplyDelete
  12. Nice post. By reading your blog, i get inspired and this provides some useful information. Thank you for posting this exclusive post for our vision....

    data science online training
    sas online training
    linux online training
    aws online training
    testing tools online training
    devops online training
    salesforce online training

    ReplyDelete
  13. I am really happy to say it’s an interesting article to read. I learn new information from your article you are doing a great job. Keep it up

    Affiliate Marketing Training in Hyderabad

    Online Reputation Management Training in Hyderabad

    Email Marketing Course in Hyderabad

    E-Commerce Marketing Training in Hyderabad

    ReplyDelete
  14. Very interesting post you have shared.Thank you. OPAL CRM Software

    ReplyDelete
  15. Thank you for providing such a useful information. OPAL CRM Software Company

    ReplyDelete
  16. THANK YOU FOR THE INFORMATION .HI GUYS IF SEARCHING FOR CRM Solutions PLEASE VISIT US
    CMR Solutions

    ReplyDelete
  17. Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
    top microservices online training
    best microservices online training
    microservices online training

    ReplyDelete
  18. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.

    Data Science Certification Malaysia
    Big Data Analytics Malaysia
    Data Analytics Course Malaysia

    ReplyDelete
  19. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here.
    certified machine learning courses
    big data analytics malaysia
    data scientist certification malaysia
    data analytics course

    ReplyDelete
  20. All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks
    big data in malaysia
    data scientist course malaysia
    data analytics courses
    360DigiTMG

    ReplyDelete
  21. It is extremely nice to see the greatest details presented in an easy and understanding manner.big data course malaysia
    data scientist malaysia
    data analytics courses
    360DigiTMG

    ReplyDelete
  22. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.big data in malaysia
    data science course in malaysia
    data analytics courses
    360DigiTMG

    ReplyDelete
  23. Mortgage Broker in Brampton
    Mortgage Broker in GTA Toronto
    We work with Canada's premium financial institutions to offer you the best mortgages in the market and the lowest interest rates. Names such as Royal Bank, Scotia Bank, Bank of Montreal, TD Canada Trust, CIBC, National Bank, and more, guarantee the best service and highest savings for you.

    ReplyDelete
  24. Best Chauffeur cab service in Melbourne
    Silver Executive Cab is a Chauffeur Cars company in Melbourne specifically company targets Melbourne Airport transfers, Corporate transfers, Regular Pick-ups, Wedding Hire Cars & private hire cars. It is an essay way to contact at Silver Executive Cab & you will get proper feedback or support by our technical executives. So Don't waste your time call or Book online your luxury car in competitive rates

    ReplyDelete
  25. Travel tours to india
    Come and see India with us where you will be able to align your mind, body and soul into one whole world.

    ReplyDelete
  26. Travels In india
    We provide safe and secure mode of transactions and keep our customer details private. You can just relax, book and enjoy your holidays with friends and family.

    ReplyDelete

  27. Good job in presenting the correct content with the clear explanation. The content looks real with valid information. Good Work

    Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery





    ReplyDelete
  28. This comment has been removed by the author.

    ReplyDelete
  29. I have truly never come across such an overwhelmingly good piece of content. I agree with your valid points and your ideas. This piece of information is really great.
    Thank you so much.
    SAP training in Kolkata
    SAP course in kolkata

    ReplyDelete
  30. I was basically inspecting through the web filtering for certain data and ran over your blog. I am flabbergasted by the data that you have on this blog. It shows how well you welcome this subject. Bookmarked this page, will return for extra. data science course in jaipur

    ReplyDelete
  31. Thank you for taking the time to publish this information very useful!
    full stack developer course with placement


    ReplyDelete
  32. Excellent and informative blog. If you want to become a data scientist, then check out the following link. AI Patasala Data Science Course in Hyderabad

    ReplyDelete
  33. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one.
    data analytics course in hyderabad

    ReplyDelete