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
I try to generate a dynamic Link to a record. Have anybody an Idea how can I get the url of the current connection in my plugin?
Thanks for all.
I don't think you'll be able to determine the organization URL from the context of custom plug-ins, unfortunately. There is however a solution you might want to try, which is to use the Secure and Unsecure Configuration, which are strings passed to the custom plug-in's contructor. You may want to provide the organization URL via those parameters. Please refer to this article: docs.microsoft.com/.../write-plug-in
I hope this is helpful to you ;)
I don't think you will be able to get the current connection OOB.
You could configure below string in CRM Dynamics or pass string as unsecure configuration in plugin steps.
Now in custom plugin you can fetch the data if you use unsecure config then from constructor and if you are storing it in some configuration entity then use query exression to get that.
Once you get the string you need to replace ENTITYNAME with context.PrimaryEntityId entity name and ENTITYRECORDID with context.PrimaryEntityName
For each environment you will need to update the configuration or unsecure conifguration plugin steps with correct URL.
it is not a normal Plugin. It is a winforms app which dll you can add for use to XrmToolbox. If you create a c# Project you need to select XrmToolbox Extension. There are only an IOrganizationService Object available.
What I need is the connection to the instance to which you connected as you opened the XrmToolBox Plugin. I don´t know how can I get it. In AppData Folder there are all connections stored in xml file what you have created but I can´t use it because I don´t know about current connection.
Any other idea?
Business Applications communities