1 / 26

Christian Abeln, Christian.Abeln@Microsoft.com

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

calvin
Télécharger la présentation

Christian Abeln, Christian.Abeln@Microsoft.com

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Christian Abeln, Christian.Abeln@Microsoft.com (D100) Client Extensibility in Microsoft Dynamics NAV 2009 R2 and beyond ...

  2. 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

  3. 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 ...

  4. A sample: Lync communication AddIn

  5. 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

  6. Three steps when using Add-ins

  7. 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

  8. Using Add-ins in the R2 RTC -> Select Add-in in Page Designer -> ‘Document’ based communication -> Add-In in trigger ”OnControlAddIn”

  9. 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

  10. Three steps when creating Add-ins

  11. 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

  12. Let’s create a Document Viewer Add-in Step By Step walk-through to create and integrate a Document Viewer Add-in. Demo

  13. 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 !

  14. 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

  15. Inside the Add-In APIAdd-in base class library

  16. Inside the Add-In APIAdd-in base class library

  17. The best way to use the API ?

  18. 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

  19. 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

  20. 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

  21. Custom interfaces: Timeline Viz

  22. V7: Add-ins with .NET 4.0

  23. Charting in V7

  24. V7: Chart Add-In for CAL developers

  25. Chart Add-In for CAL developers

More Related