Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
You can build extension packages that add functionality to a Microsoft Dynamics NAV deployment.
For Overview, please see my earlier posts Introducing Extensions in Microsoft Dynamics NAV 2016
Like any common functionality you want to roll out to different locations of a same company maintaining Object Set Globally for their Navision deployment.
You can perform conventional Export object and send to different locations, where they import these objects in their databases. Another option is through Extensions. Specially very helpful in Tenant model deployment.
But do the limitations apply as we discussed in my earlier post:
[A] Which Object types you can Include & Restrictions applicable to C/AL code in Extension Packages
[B] Which Properties are Restricted in Extension Packages
Unlike the familiar development and deployment of Microsoft Dynamics NAV functionality, building an extension relies on the exported version of an application to .TXT files.
You can export the application from the development environment, use the development environment commands, or use the Windows PowerShell cmdlet that is available in the Microsoft Dynamics NAV 2016 Development Shell,
MS recommend that you create a folder structure that can be leveraged by the cmdlets that you use when you build the extension package. That structure should contain folders for the ORIGINAL object files, MODIFIED object files, and DELTA files. These names match those used as parameters in the application merge utilities.
Recall from my earlier post where we deled with Upgrading the Application Code in Microsoft Dynamics NAV 2016
We used folder structure for placing the objects before we performed action:
“In my example, the UpgradeDemo folder on the C drive contains five folders: ORIGINAL, MODIFIED, TARGET, DELTA, and RESULT. The DELTA and RESULT folders are empty. The ORIGINAL, MODIFIED, and TARGET folders contains one or more text files that contain application objects.”
Similar structure we will be using for creating package. You can follow same for easy reference or you can use your convenient naming convention and structure.
I will come back on this in my future post, what exactly structure I will be using for my walkthrough on Extension.
You can refer to cmdlets we discussed earlier for upgrade and extensions which will be used in rest of the parts of this and upcoming posts while dealing with Extensions.
[A] Helpful PowerShell Commands which you can use for Upgrade Process in Navision 2016
[B] Few Helpful PowerShell Commands which you can use for Upgrade Process in Navision 2016 – Part 2
[C] Useful Windows PowerShell cmdlets for managing Extensions in Dynamics Navision 2016
Export-NAVApplicationObject -Path ORIGINAL -DatabaseName MyDatabase -DatabaseServer MyDatabaseServer
Export-NAVApplicationObject -Path MODIFIED -DatabaseName MyDatabase -DatabaseServer MyDatabaseServer
Compare-NAVApplicationObject -OriginalPath ORIGINAL -ModifiedPath MODIFIED -DeltaPath DELTA
Your delta files must be one-to-one with the objects you have added or modified. You cannot include a single merged delta file. If you output your export file as a single file use the Split-NAVAppplicationObjectFile cmdlet to create the individual files.
I will come up with more details in my upcoming posts on this topic.
Business Applications communities