Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
Hello All Experts,
I need to write a prevalidation plugin on.
1. When creating a case from task entity by using convert to case button.
2. I need to check whether in the customer field the entity type is account only.
query: I am bit confused like which message of plugin do i need to choose here? likewise more details i need .
any help will be appreciable.
Plugin step message would be create only.
Only thing you would need to check is parentcontext to know if case is getting created from task.
Thanks for the update,
Could you please elaborate more how do i check parent context.
it will be more appreciable.
You can check using plugin context.
see below link for the properties present in IPluginExecutionContext.
Hi Bipin ,
thanks for your update now i am able to read that property , but i am not sure how to utilize it to understand if case is getting created from task.
and also give a Business Process Error from Convert To Case popup window.
Today i tried in my instance. So basically you have to check if parent context MessageName equals to ConvertActivity. Also Parent context PrimaryEntityName equals to activitypointer when case record converted from task. See below image and highlighted section for your reference.
However when you create directly from case grid parent context will be null.
Hello Bipin ,
Thanks for your update , but what actually i am trying here is that , i need to show a custom message when click of Convert Button, but i am not able to show that.
is there any limitation that i cannot show custom message from plugin when Convert button from convert to dialog is clicked?
Hello All ,
I have change step registered on prevalidation to preoperation and the plugin started working from Convert To button as well .
Thanks for all your help an dsupport.
Glad that it worked.
Business Applications communities