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.

47 comments:

Unknown 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

Unknown 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

Herry Johnson 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 .

Unknown 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

Unknown 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

Unknown 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

Unknown 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

Unknown 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

Unknown 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...

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

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

Unknown 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

Sreelatha said...

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

Sreelatha 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

scoot said...

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

Aruna Ram said...

Excellent post...! It is very helpful for developing my knowledge and Keep it up...
Unix Training in Chennai
Best Unix Training in Chennai
Excel Training in Chennai
Oracle DBA Training in Chennai
Spark Training in Chennai
Oracle Training in Chennai
Job Openings in Chennai
Power BI Training in Chennai
Unix Training in Tambaram
Unix Training in Vadapalani

Unknown said...

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

anusha said...

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

360digitmg said...

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

tejaswini said...

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

tejaswini said...

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

tejaswini said...

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

Danishsingh said...

Thanks for sharing such a great blog Keep posting.
list of email ids of companies
sales automation tools
CRM software
online CRM software

steve said...

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.

steve said...

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

steve said...

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.

steve said...

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.

Janu said...


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





shankarjaya said...
This comment has been removed by the author.
Drashti k blogs said...

wow what a blog !! literally got amazed!!

Data science course in Mumbai

Drashti k blogs said...

wow so nice blog

Data science course in Mumbai


Business Analytics course

BestTrainingKolkata said...

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

data science said...

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

traininginstitute said...

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


Ramesh Sampangi said...

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

Deekshitha said...

Informative blog
data science training in agra

360DigiTMG said...

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

Unknown said...

Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. data science training in kanpur