Monday 16 November 2015

Working with NAVX in NAV 2016

Hi,

In my previous post we have seen how to generate NAVX file using Development Shell.

Now let's have a look how to install and uninstall NAVX file across different instances. 

Current NAVX file generated holds 2 changed objects (Page 26 & Table 23) and 2 new objects(New Table & CodeUnit).

  • Open Vendor Card of the new instance on which you are trying to install NAVX file. This instance doesn't have any changes on Vendor Card.

  •  Open NAV Developer shell of the new instance on which you want to install NAVApp.

  • Publish before you install NAVX. Run the below cmdlet.
    • Publish-NAVApp -ServerInstance DynamicsNav90 -Path D:\NAVEXT\Extension.navx

  • We can verify Version details by using cmdlet. 
    • Get-NAVAppInfo -ServerInstance DynamicsNav90


  • Install NAVX using cmdlet 
    • Install-NAVApp -ServerInstance DynamicsNav90 -Path D:\NAVEXT\Extension.navx




Look at that all my customization are moved to new instance.

  • Uninstall App.
    • UnInstall-NAVApp -ServerInstance DynamicsNav90 -Path D:\NAVEXT\Extension.navx


Now the "Approved Vendor" is removed.

This is how Extensions work isn't that Great!!!

Few things that i noticed

  • Extensions dosen't modify your Source code. Yes, you may not find the field or function that got added using Extensions from object designer.
  • Query cannot be deployed using Extensions.
Lots of questions in my mind as well need to explore much more. 

Anyways long way to go I will keep posting....

Cheers :)

No comments:

Post a Comment