260 likes | 438 Views
Christian Abeln, Christian.Abeln@Microsoft.com. (D100) Client Extensibility in Microsoft Dynamics NAV 2009 R2 and beyond . Session Content. Intro RTC Add-Ins Basic concepts and tools needed. The AddIn API and best pratice design. Add-ins in NAV V7 Whats new in the Add-In API
E N D
Christian Abeln, Christian.Abeln@Microsoft.com (D100) Client Extensibility in Microsoft Dynamics NAV 2009 R2 and beyond ...
Session Content Intro RTC Add-Ins • Basic concepts and tools needed. • The AddIn API and best pratice design. Add-ins in NAV V7 • Whats new in the Add-In API • Custom interfaces (e.g. Timeline Visualization in V7) • CAL driven charts
Insight Use of RTC AddIns in R2 and beyond ... Monitor Business data & processes Discover Act Customize and utilize Scale our strategy Query O-Data Client Extensibility Interop Async, Performance Managed data layer Dev tools ...
NAV R2 Extension Models Client Add-In Client Tier Role Tailored Client .NETinterop Client COM X Form Builder Data Binder Web Services Client Services Application Meta data provider Service Tier X .NETinterop Server COM Class Library DatabaseTier Microsoft SQL Server
Using Add-ins in the RTC Place Add-in assembly in the ”Add-ins” folder(s) Register the Add-in Registration Tool blogs.msdn.com/cabeln
Using Add-ins in the R2 RTC -> Select Add-in in Page Designer -> ‘Document’ based communication -> Add-In in trigger ”OnControlAddIn”
Making of Control Add-Ins • Microsoft Visual Studiooptionally :Visual Studio Templates for Add-ins blogs.msdn.com/cabeln Extensibility assembly(Microsoft.Dynamics.Framework.UI.Extensibility) Existing or new control
Add-in API: Concept Choose a base class based on your reqiurements Choose unique Add-in Name (Attribute) Create the control Implement interfaces for Value and Event binding as needed Use ‘context’ information from the ‘Site’: Caption, Editable, Enabled, Style, ValidationResults , Visible
Let’s create a Document Viewer Add-in Step By Step walk-through to create and integrate a Document Viewer Add-in. Demo
Inside the Add-In APIAdd-in base class library Add-in base class with string data binding & eventing -> Value, HasValueChanged, RaiseControlAddInEvent Control by default connected over framework property Control.Text !
Inside the Add-In APIAdd-in base class library • Add-in base class for static controls (no data binding, eventing) • Handles changes of Editable, Enabled, Visible, Style • AllowCaptionControl
A ViewModelbased Add-in project XML ViewModel library AddIn library ViewModel: How to show ViewModel: How to show Application ClientAdd-In Test project Visualization Control RoleTailored client Service Tier Viewdata: What to show Viewdata: What to show
A ViewModelbased Add-in project Client Add-In Client Tier Role Tailored Client .NETinterop Form Builder Data Binder Client Services Web Services Application Meta data provider Service Tier .NETinterop Class Library
Create an Add-in from scratchXML binding WPF Add-in Step By Step walk-through: Creating a WPF Chart Add-in for Dynamics NAV from scratch. Demo