nav 2016 events and extensions

60
Roberto Stefanetti, MVP Business Solutions Events & Extensions in NAV 2016 Training Session 14/09/2016

Upload: roberto-stefanetti

Post on 18-Jan-2017

310 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: NAV 2016 Events and Extensions

Roberto Stefanetti, MVP Business Solutions

Events & Extensions in NAV 2016

Training Session 14/09/2016

Page 2: NAV 2016 Events and Extensions

Agenda

Events Technology- Demo

Extensions Technology- Demo

Page 3: NAV 2016 Events and Extensions

Events & ExtensionsWhy we did it ? EVENTS: We’ve got a new model to help you create upgrade safe extensions to Dynamics NAV.  Designed for cloud, multi-tenancy and repeatability – it’s a structured way to change how Dynamics NAV looks and behaves.

EXTENSIONS: It’s the right way for you to think about developing, packaging, and delivering your IP to very many more customers in the future.

Page 4: NAV 2016 Events and Extensions

Events

Page 5: NAV 2016 Events and Extensions

EventsWhy we did it ? EVENTS

“We have introduced a new feature called C/AL Events, which will enable developers to change behavior and add functionality without explicitly modifying source code.”

Page 6: NAV 2016 Events and Extensions

EventsEvents Technology – What ?

Page 7: NAV 2016 Events and Extensions

EventsHow does it work ?

Page 8: NAV 2016 Events and Extensions

EventsTypes

Page 9: NAV 2016 Events and Extensions

EventsDesign Considerations

Page 10: NAV 2016 Events and Extensions

EventsDesign Considerations

Page 11: NAV 2016 Events and Extensions

EventsBest Videos MicrosoftHow Do I: Use Events in Microsoft Dynamics NAV 2016 - Jasminka https://www.youtube.com/watch?v=Cjt8aQC2aC8

How Do I: Subscribe to CAL database, Page and System Events in Microsoft Dynamics NAV 2016 - Jasminkahttps://www.youtube.com/watch?v=l1H-yMSh13s

Page 12: NAV 2016 Events and Extensions

EventsBest Videos MVPIntroduction to Eventing and Extensions in Dynamics NAV 2016 by Mark Brummelhttps://www.youtube.com/watch?v=djYR2toCqzE

Deep Dive into Eventing in Dynamics NAV 2016 by Soren Klemmensen https://www.youtube.com/watch?v=zQHVv7PV8u8

Page 14: NAV 2016 Events and Extensions

EventsBest Links – Part II MSDNEvents in Microsoft Dynamics NAV - MSDNhttps://msdn.microsoft.com/en-us/library/mt299505(v=nav.90).aspxIntegration Events in Microsoft Dynamics NAV 2016 - NAV Team Bloghttps://blogs.msdn.microsoft.com/nav/2015/10/15/integration-events-in-microsoft-dynamics-nav-2016/Introducing Events - MSDNhttps://msdn.microsoft.com/en-us/library/mt299398(v=nav.90).aspxGet Started with Eventing - MSDNhttps://msdn.microsoft.com/dynamics/nav/mt598589Best Practices with Microsoft Dynamics NAV Eventshttps://msdn.microsoft.com/en-us/library/mt299402(v=nav.90).aspx

Page 15: NAV 2016 Events and Extensions

EventsBest Demo LinksShiva Teja - Microsoft Dynamics NAV 2016 - Implementing Events and Subscribers Using Workflow on Customized Pages http://shivteja.blogspot.it/2015/11/dynamics-nav-2016-implementing-events.htmlMicrosoft Dynamics NAV 2016 - How to Use Trigger Events - Part 1 http://saurav-nav.blogspot.it/2015/11/microsoft-dynamics-nav-2016-how-to-use.htmlEvent Triggers - Microsoft Dynamics NAV 2016 - How to Use Trigger Events - Part 1https://community.dynamics.com/nav/b/sauravdhyanimicrosoftdynamicsnav/archive/2015/11/19/microsoft-dynamics-nav-2016-how-to-use-trigger-events-part-1

Page 16: NAV 2016 Events and Extensions

EventsLive Demo Session

Page 17: NAV 2016 Events and Extensions

Events - Demo“How to Publish” an event

Page 18: NAV 2016 Events and Extensions

Events - Demo“How to Publish” raise an event

Page 19: NAV 2016 Events and Extensions

Events - Demo“How to Subscribe” to and handle an event

Page 20: NAV 2016 Events and Extensions

C/AL Event Functions\Subscriptions

Page 21: NAV 2016 Events and Extensions

Events - DemoREMEMBER !

Page 22: NAV 2016 Events and Extensions

Events – DemoNAV 2016, “ALL” about Eventshttps://robertostefanettinavblog.wordpress.com/2015/11/01/nav-2016-all-about-events/

How Do I: Use Events in Microsoft Dynamics NAV 2016 - Jasminkahttps://www.youtube.com/watch?v=Cjt8aQC2aC8

Microsoft Dynamics NAV 2016 - How to Use Trigger Events - Part 1 http://saurav-nav.blogspot.it/2015/11/microsoft-dynamics-nav-2016-how-to-use.html

Page 23: NAV 2016 Events and Extensions

Events - DemoNICE DEMOS

http://www.archerpoint.com/blog/Posts/making-upgrades-easier-nav-2016-using-event-subscriber

Another Nice demo hereDevelopment in Dynamics NAV 2016: Events http://www.dynamicsdc.com/en/blg/development-in-dynamics-nav-2016-events

Making Upgrades in Microsoft Dynamics NAV 2016 Easier:How to Use the Event Subscriber Functions to Help Eliminate the Need to Modify Base Objects

Page 24: NAV 2016 Events and Extensions

Events - DemoALL PUBLISHED EVENTS

http://www.waldo.be/2015/11/02/nav-2016-eventing-all-published-integration-and-business-events/

NAV 2016 Eventing: All published Integration and Business events – nice powershell Script from Waldo

Page 25: NAV 2016 Events and Extensions

Extensions

Page 26: NAV 2016 Events and Extensions

Extensions (EXTENTS)Why we did it ? EXTENTS

“Extensions are a new way to extend and customize a Dynamics NAV deployment without the need to modify source objects. Extensions can be installed, upgraded, and uninstalled in an on-premises deployment as well as for select tenants in a multi-tenant deployment.”

Page 27: NAV 2016 Events and Extensions

Extensions“BENEFITS”

Page 28: NAV 2016 Events and Extensions

Extensions“INSTALLABLE”

Page 29: NAV 2016 Events and Extensions

Extensions“CAPABILITY”

Page 30: NAV 2016 Events and Extensions

Extensions“UPGRADE”

Page 31: NAV 2016 Events and Extensions

Extensions“CHOICE: RUN PER TENANT”

Page 32: NAV 2016 Events and Extensions

Extensions“ARE… ALL OF THESE”

Page 33: NAV 2016 Events and Extensions

ExtensionsHow it works

Page 34: NAV 2016 Events and Extensions

Extensions… Only with POWERSHELL !

Page 35: NAV 2016 Events and Extensions

ExtensionsPowershell CmdLets

Page 36: NAV 2016 Events and Extensions

ExtensionsDev and Admin Parts

Page 37: NAV 2016 Events and Extensions

ExtensionsNAV App Package

Page 38: NAV 2016 Events and Extensions

ExtensionsPowershell for NavX

Page 39: NAV 2016 Events and Extensions

ExtensionsPublish NAV App

Page 40: NAV 2016 Events and Extensions

ExtensionsInstall NAV App

Page 41: NAV 2016 Events and Extensions

ExtensionsSimple “Rules” : IDE

Page 42: NAV 2016 Events and Extensions

ExtensionsSimple “Rules” : TEST, TEST…

Page 43: NAV 2016 Events and Extensions

ExtensionsSimple “Rules” : “Hook”

Page 44: NAV 2016 Events and Extensions

ExtensionsUpgrading an APP

Page 45: NAV 2016 Events and Extensions

ExtensionsHow getting data from archive?

Page 46: NAV 2016 Events and Extensions

ExtensionsUPGRADE TO EXTENSIONS 1.0 (NAV 2016)“LIMITATIONS”

Page 47: NAV 2016 Events and Extensions

ExtensionsATTENTION !

Page 48: NAV 2016 Events and Extensions

ExtensionsAPP = “Vertical” Solution

Page 49: NAV 2016 Events and Extensions

EventsBest Videos MicrosoftHow Do I Build a Basic Microsoft Dynamics NAV Extension – Waldo, Vjekohttps://www.youtube.com/watch?v=ZiM4bkHDpJI

How Do I: Create an Extension Package in Microsoft Dynamics NAV 2016 https://www.youtube.com/watch?v=Cjt8aQC2aC8

How Do I Get Started with Building Microsoft Dynamics NAV Extensions on the Azure Demo – Waldo, Vjekohttps://www.youtube.com/watch?v=Cfwe9F_MbBU

Page 50: NAV 2016 Events and Extensions

ExtensionsBest Videos Others

Microsoft Dynamics NAV 2016 Extensions Explained https://www.youtube.com/watch?v=2P2aOsk6Wow

Introduction to Eventing and Extensions in Dynamics NAV 2016https://www.youtube.com/watch?v=djYR2toCqzE

Page 52: NAV 2016 Events and Extensions

ExtensionsBest Links – Part II MSDNExtending Microsoft Dynamics NAV - MSDNhttps://msdn.microsoft.com/en-us/library/hh169423(v=nav.90).aspxExtending Microsoft Dynamics NAV Using Extension Packageshttps://msdn.microsoft.com/en-us/library/mt574417(v=nav.90).aspxHow to: Develop an Extensionhttps://msdn.microsoft.com/en-us/library/mt574395(v=nav.90).aspxHow to: Create an Extension Packagehttps://msdn.microsoft.com/en-us/library/mt600264(v=nav.90).aspxHow to: Publish and Install an Extensionhttps://msdn.microsoft.com/en-us/library/mt600252(v=nav.90).aspxExtension Packages Capability Support Matrixhttps://msdn.microsoft.com/en-us/library/mt574414(v=nav.90).aspx

Page 53: NAV 2016 Events and Extensions

ExtensionsBest Demo Links

NAV2016 | My first extension (UPDATED) | NAVUG Summithttps://nav-skills.com/2015/10/15/nav2016-my-first-extension-navug-summit/

NICE SAMPLE HERE WITH STEPS5 Simple steps to create a NAV 2016 Extensionhttps://www.linkedin.com/pulse/5-simple-steps-create-nav-2016-extension-mark-brummel

Page 54: NAV 2016 Events and Extensions

ExtensionsLive Demo Session

Page 56: NAV 2016 Events and Extensions

Extensions - Demo

Create extension packageNew-NAVAppManifest

Create extension manifest

New-NAVAppPackage -Path MyExtension.navx -SourcePath DELTA

https://msdn.microsoft.com/en-us/library/mt600264(v=nav.90).aspx

Publish-NAVApp -ServerInstance YourDynamicsNAVServer -Path MyExtension.navx

Publish ore remove an extension

Unpublish-NAVApp -ServerInstance YourDynamicsNAVServer -Path MyExtension

Page 57: NAV 2016 Events and Extensions

Extensions - DemoRemove an extension

https://msdn.microsoft.com/en-us/library/mt600264(v=nav.90).aspx

Unpublish-NAVApp -ServerInstance YourDynamicsNAVServer -Path MyExtension

Install an extensionInstall-NAVApp -ServerInstance YourDynamicsNAVServer -Name ”My Extension” –Tenant Tenant1, Tenant3

Page 58: NAV 2016 Events and Extensions

Extensions - DemoNICE DEMOS HERE

5 Simple steps to create a NAV 2016 Extensionhttps://www.linkedin.com/pulse/5-simple-steps-create-nav-2016-extension-mark-brummel

Getting Started with Extensions\My First Extensionhttps://nav-skills.com/2015/10/20/nav2016-getting-started-with-extensions-nav-apps/

http://mibuso.com/downloads/nav2016-my-first-extension-navug-summit

https://nav-skills.com/2015/10/15/nav2016-my-first-extension-navug-summit/

Some Links About Extensionshttps://robertostefanettinavblog.wordpress.com/2016/03/31/some-links-about-nav-2016-extensions/

Page 60: NAV 2016 Events and Extensions

Roberto Stefanetti, MVP Business Solutions

Thanks for Watching !

Events & Extensions in NAV 2016