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
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 Timeline
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
In Dynamics 365 Customer Engagement (online) I have installed Unified Service Desk. I have created a hosted control with type standard web application. Changed No Adapter to use adapter pointing to the correct assembly and class.
The class looks like classname: Microsoft.Uii.Csr.WebApplicationAdapter so it is inherited WebApplicationAdapter.
Created an override DoAction(Microsoft.Uii.Csr.Action action, RequestActionEventArgs args) and set a breakpoint.
When the hosted application hosting type is internal wpf in the doaction function the Browser is null. When I look into the code of the class of the WebApplicationAdapter it tries to cast the DdaApplicationObject to a WebBrowserExtended (DdaApplicationObject as WebBrowserExtended). When I look into the type of the DdaApplicationObject it is a Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.WpfBrowser.
When the hosted application hosting type is IE process the DdaApplicationObject is Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.BrowserControl. This also returns null.
From the browser I like to get the html document and set some values on the website with document.GetElementId and setattributevalue.
So the code in the DoAction would be:
var htmlDocument = Browser.Document as mshtml.HTMLDocument;
var element = htmlDocument.getElementById("test");
Can anyone help me out with retrieving the html document and fill the website with some retrieved information?
Thanks in advanced for your help.
Business Applications communities