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.

39 comments:

Evincible Solutions said...

This article was very helpful in answering alot of questions about Microsoft Dynamics CRM. I will be looking forward to such companies like Evincible Solutions. Thanks for posting.

Skill Quotient said...


That's awesum ! really liked your blog.
Microsoft Dynamics AX Training | Microsoft Dynamics CRM Online Training

kbs training institute said...

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

Leslie Lim said...

I'm impressed. You're truly well informed and very intelligent. You wrote something that people could understand and made the subject intriguing for everyone. I'm saving this for future use.


Rica
www.imarksweb.org

Raju Kumar said...


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

sarah lee said...

I really enjoyed reading your article. I found this as an informative and interesting post, so i think it is very useful and knowledgeable. I would like to thank you for the effort you have made in writing this article.


edupdf.org

Herry jonson said...

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 .

Lilly Miller said...

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.

oraclehcm said...

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

Sophia said...

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

oracle R12 said...

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

Marianna Smith said...

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

Venu Gopal Puram said...

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

Naseela Naz said...

I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Big Data Hadoop and Spark Developer, kindly contact us http://www.maxmunus.com/contact
MaxMunus Offer World Class Virtual Instructor led training on MS Dynamic CRM. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
For Demo Contact us.
Sangita Mohanty
MaxMunus
E-mail: sangita@maxmunus.com
Skype id: training_maxmunus
Ph:(0) 9738075708 / 080 - 41103383
http://www.maxmunus.com/


oracle calfre said...

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

nancy said...

Thanks for sharing such an informative post...


SAP S/4 HANA Simple Finance Training in Hyderabad

vimal chauhan said...

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

Unknown said...

I am really admired for the great info is visible in this blog that to lot of benefits for visiting the nice info in this website. Thanks a lot for using the nice info is visible in this blog.
Java training in chennai | Data Science Training in Chennai | DevOps Training in Chennai

cloud ace said...

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

Madduri Jagadeesh said...

best article with nice information thank you
DevOps Training in Hyderabad
Salesforce Training in Hyderabad
SAP ABAP Online Training
SEO Training in Hyderabad

Bannu Babu said...

Nice Article ..Thanks for providing information that was worth reading & sharing
ielts coaching in Hyderabad
Machine Learning Course in Hyderabad
Power bi training Hyderabad
Python training in Hyderabad

Digital Floats said...

Great Article. Thanks for sharing info.

Digital Marketing Course in Hyderabad

Digital Marketing Training in Hyderabad

AWS Training in Hyderabad

Workday Training in Hyderabad

digital abhishek said...


Great article thank you.
Big Data Hadoop Training in Hyderabad
Data Science Course in Hyderabad
AngularJS Training in Hyderabad
Advanced Digital Marketing Training Institute in Hyderabad

mani said...

awesome article thanks for sharing


devops online training




python online traning




power bi online traning



machine learning online course

SAHASRA R said...

Informative article in your blog,Thankyou for sharing the post.
AWS Training in Hyderabad

Digital Marketing Training in Hyderabad

Big Data Hadoop Training in Hyderabad

Digital Marketing Course in Hyderabad

Training said...

Very Informative, Thanks for Sharing.

Digital Marketing Courses in Hyderabad

SEO Training in Hyderabad Ameerpet

SAP ABAP Training Institute in Hyderabad

Salesforce CRM Training in Hyderabad

digitalmrk said...

Usefull Article. Thanks for sharing info.

Digital Marketing training in Hyderabad

IELTS training

in hyderabad


sap sd online

training


sap fico online

training

Shaikfarha said...

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

Digital shree said...

The best Article that I have never seen before with useful content and very informative.Thanks for sharing info.

Social Media Marketing Training in Hyderabad

Adwords Training in Hyderabad

Google Analytics Training in Hyderabad

Google AdSense Training in Hyderabad

Unknown said...

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

Unknown said...

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

Digital Nagaraj said...

Great Article. Thanks for sharing info.

Digital Marketing Course in Hyderabad

Top Digital Marketing Courses with the live projects by a real-time trainer

line Digital Marketing Courses in Hyderabad

SEO Training in Hyderabad

Sanvi said...

Thank you so much for posting this. I really appreciate your work. Keep it up. Great work!

CEH Training In Hyderbad

jenifer irene said...

I have gone through your blog, it was very much useful for me and because of your blog, and also I gained many unknown information, the way you have clearly explained is really fantastic. Kindly post more like this, Thank You.
Aviation Academy in Chennai
Air hostess training in Chennai
Airport management courses in Chennai
Ground staff training in Chennai
best aviation academy in chennai
cabin crew course in chennai
diploma in airport management course in chennai
airport ground staff training in chennai

Hema Sri said...

Thank you for giving the information and it is use full for me. training with placement company in Hyderabad

Unknown said...

Very informative.
aws training in hyderabad

meenati said...


It was really a nice post and I was really impressed by reading this keep updating
Tableau online Training

Android Training

Data Science Course

Dot net Course

iOS development course

Realtek Consulting said...

Great post!! This can be one particular of the most useful blogs. Basically Wonderful. I can understand your hard work.


Machine Maintanance Software in chennai
Best machine maintanance software in chennai
machine maintenance software price in chennai
machine maintenance software development in chennai
erp software development company in chennai
erp in chennai

Unknown said...

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