Hosted Application Toolkit (HAT) architecture
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
This topic illustrates the components of Hosted Application Toolkit (HAT) and the application startup process.
HAT components
Data-driven adapters (DDAs): DDAs are generic assemblies that interact with the hosted application's user interface (UI). The UII SDK ships with four types of DDAs:
UIADataDrivenAdapter – This DDA uses the UI Automation framework that shipped with Microsoft .NET Framework 4 to interact with Windows-based applications, Windows Presentation Foundation (WPF), Silverlight, and web applications.
WinDataDrivenAdapter – This DDA uses the Microsoft Active Accessibility (MSAA) framework to interact with Windows-based applications.
WebDataDrivenAdapter – This DDA uses the Document Object Model (DOM) (MSHTML) to interact with web applications.
JavaDataDrivenAdapter – This DDA uses the Java Access Bridge (JDK 1.7 or later) to interact with Java applications.
Bindings: Bindings describe the UI elements with a hosted application and are leveraged by the DDAs.
Automations: Automations are Windows Workflow Foundation (WF) workflows that host the business logic. The Hosted Application Toolkit (HAT) Software Factory provides a set of WF activities to interact with hosted applications. More information: Automate hosted applications using HAT automation activities
The following illustration shows the HAT architecture.
Application startup process
The DDA uses bindings and easily identified control names to provide an application’s UI controls to automations. Automations use these names to manage the UI controls. Bindings are provided as part of the initialization string procedure during application startup. The Application Integration Framework extracts these bindings from the initialization string and provides them to the DDA. The following illustration shows the typical process that occurs when an application starts.
See Also
UII Application Integration Framework
Work with the HAT Software Factory
Use data driven adapters (DDAs)
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright