Skip to content
Jonas Andersen edited this page Jun 12, 2017 · 13 revisions

Welcome to the DynamicsNAVSCM wiki!

Getting the extension to work.

Currently there are a few required settings that need to be present in either your user settings or your workspace settings. These are the following:

These settings needs to be present in your workspace settings:

  • dynamicsnav.zip
  • dynamicsnav.solutionName

The rest of the settings can either be specified in your user settings or in your workspace settings.

I would recommend your settings looks like this: User settings (Located in %APPDATA%\Code\User\settings.json):

{
    "dynamicsnav.licensefile": "<Location to .flf license file>", 
    "dynamicsnav.commonsqllocation": "<Location where both the remote SQL Server and your SQL Server can access>"
}

Workspace settings (Located in <your workspace>/.vscode/settings.json):

{
    "dynamicsnav.zip": "<Location to the ZIP file from Microsoft>",
    "dynamicsnav.solutionName": "<Your solutionname>",
    "dynamicsnav.remotedbname": "<DB name on the remote SQL Server>",
    "dynamicsnav.solutionVersion": "<Version of your current solution>",
    "dynamicsnav.remotedbinstance": "<Remote SQL Server's computername>"
}

Please note that \ in JSON needs to be escaped. So C:\temp\license.flf becomes C:\\temp\\license.flf in your settings.

Also note that the ZIP file is the DVD ZIP file from Microsoft. It needs to contain the setup.exe in the root of the ZIP file.

An example workspace settings could look something like this:

{
    "dynamicsnav.zip": "C:\\temp\\NAV.10.0.16996.DK.DVD.zip",
    "dynamicsnav.solutionName": "EXAMPLE",
    "dynamicsnav.remotedbname": "EXAMPLE-SOLUTION",
    "dynamicsnav.solutionVersion": "1.0.0",
    "dynamicsnav.remotedbinstance": "SQLSERVER"
}
Clone this wiki locally