Upgrade Sana in Microsoft Dynamics NAV 2018
Applies to: Microsoft Dynamics NAV 2018 + Sana extension
This article provides a step-by-step guide how to upgrade the Sana extension in Microsoft Dynamics NAV 2018. It is applicable only if you installed the Sana extension, but not imported the NAV objects.
You must upgrade the Sana extension on the Microsoft Dynamics NAV server. To do this, you will need the Microsoft Dynamics NAV Administration Shell.
Step 1: Copy the new version of the Sana extension to the server where Microsoft Dynamics NAV is installed.
Step 2: Start the Microsoft Dynamics NAV Administration Shell.
Step 3: Publish the new version of the Sana extension by running the Publish-NAVApp command:
Publish-NAVApp -ServerInstance DynamicsNAV -Path .\SanaExtension_[version].app -SkipVerification
Before running the command, specify your Microsoft Dynamics NAV server instance and path to the Sana extension with the correct version.
Example:
Publish-NAVApp -ServerInstance DynamicsNAV110 -Path C:\NAV2018RTM_W1_10.0.0.0_APP\Sana Commerce_10.0.0.0_NAV2018_W1.app -SkipVerification
Step 4: Synchronize the new version of the Sana extension with the database, by running the Sync-NAVApp command:
Sync-NAVApp -ServerInstance DynamicsNAV -Name SanaExtensionName -Version [version]
Before running the command, specify your Microsoft Dynamics NAV server instance, Sana extension name and version. Use “Sana Commerce” as the value of the -Name parameter.
Example:
Sync-NAVApp -ServerInstance DynamicsNAV110 -Name Sana Commerce -Version 10.0.0.0
Step 5: Start data upgrade, by running the Start-NAVAppDataUpgrade command:
Start-NAVAppDataUpgrade -ServerInstance DynamicsNAV -Name SanaExtensionName -Version [version]
Before running the command, specify your Microsoft Dynamics NAV server instance, Sana extension name and version. Use “Sana Commerce” as the value of the -Name parameter.
Example:
Start-NAVAppDataUpgrade -ServerInstance DynamicsNAV110 -Name Sana Commerce -Version 10.0.0.0
This runs the upgrade logic that is defined by the upgrade codeunits in the Sana extension. This will uninstall the current version of the Sana extension, and enable the new version instead.