Book Image

Extending Microsoft Dynamics NAV 2016 Cookbook

By : Alexander Drogin
Book Image

Extending Microsoft Dynamics NAV 2016 Cookbook

By: Alexander Drogin

Overview of this book

Microsoft Dynamics NAV is an enterprise resource planning (ERP) software suite for organizations. The system offers specialized functionality for manufacturing, distribution, government, retail, and other industries. Its integrated development environment enables customizations with minimal disruption to business processes. The book starts explaining the new features of Dynamics NAV along with how to create and modify a simple module. Moving on, you will learn the importance of thinking beyond the boundaries of C/AL development and the possibilities opened by with it. Next, you will get to know how COM can be used to extend the functionalities of Dynamics NAV. You’ll find out how to extend the Dynamics NAV 2016 version using .NET interoperability and will see the steps required to subscribe to .NET events in order to extend Dynamics NAV. Finally, you’ll see the cmdlets available to manage extension packages. By the end of the book, you will have the knowledge needed to become more efficient in selecting the extending methods, developing and deploying them to the Dynamics NAV, and practicing the best practices.
Table of Contents (17 chapters)
Extending Microsoft Dynamics NAV 2016 Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Publishing NAV reports in SharePoint


NAV page objects can be published on a SharePoint site as SharePoint apps or web parts that will be embedded into site pages. Reports are not so flexible--there is no option to set a report in a page as a web part. NAV reports can only be presented as an application.

Now we will develop a SharePoint app that will expose a NAV report in the site apps list. This recipe is very similar to the Developing NAV apps for SharePoint recipe. Steps overlapping in these two recipes will be outlined here. If you need a detailed description, refer to the aforementioned recipe.

How to do it...

  1. Open your developer site on SharePoint, access the application registration page located on the URL http://<SharePointWebsite>/_layouts/15/AppRegNew.aspx, and register a new app, as described in Developing NAV apps for SharePoint recipe, Step 1 through Step 5.

  2. Run Visual Studio and create a new project. Select the application template App for SharePoint.

  3. Type a name for the project...