How to Add and Remove Extensions in NAV2018

 

This guide will teach you how to add and remove extensions in NAV2018 using a combination of the NAV2018 Client and PowerShell commands. When an extension is just published, it means that it is in your system, but it is not activated. When a published extension is installed, this means that it is fully activated.

 

PUBLISH AND INSTALL

 

To publish a NAV-APP, start by putting your extension in a location such as “C:\Extensions\”. Then hold the shift button on your key board and right click your extension and click on “Copy as path”. This will copy the whole path link.

Open the “Dynamics NAV Administration Shell” as an administrator.

Copy and paste this text into to Nav Admin Shell and replace the server instance name with your instance name: publish-navapp -serverinstance DynamicsNAV110 -skipverification

Press “Enter” on your keyboard.

Paste in your path link and make sure to remove the quote marks from the start and end before you press “Enter”.

Give it a few moments to finish and then you can close the Nav Admin Shell.

 

Open your NAV client and go to “Extension Management”.

Highlight your new extension and then click on “Install”

Click on “Next”.

Then Click on “Install”.

Click “OK”.

 

As you can see, your new extension is now green and “Installed”. Click “Close” then re-open your Nav client so it can pull through the new extension.

 

 

UNINSTALL AND UNPUBLISH

To uninstall an extension, open your Nav Client and go to “Extension Management”.

 

 

Highlight your extension and click on “Uninstall”.

Click on “Uninstall”.

 

Then click on “OK”.

Now the extension is uninstalled, you need to unpublish the extension to completely remove it from your system. Open the “Dynamics NAV Administration Shell” as an administrator.

When we unpublish an extension, we need to know the name of it so we can tell the Nav Admin Shell which one to remove. To get this name, type in “get-navappinfo” and press “Enter” on your keyboard. When it asks, type in your server instance name and press “Enter” again. This will then list your extensions that are published to that server instance. Take note of the name of the extension that you want to unpublish. 

 

Now type in “unpublish-navapp” and press “Enter”.

Again, type in your server instance and press “Enter”.

Then type in your extension name and press “Enter”.

Now if you go back into your Nav client and check your Extension Management page, you will see that the extension is no longer there. Click “Close” then re-open your Nav client so it can finish removing the extension.

 

The following two tabs change content below.