How to connect to Dynamics NAV 2015 with one click?

How can you connect to Dynamics NAV with one click? Ok, ok… I may have oversold you on the idea of “one click”. In fact, it is one double-click. You could do it so easily with Dynamics NAV Classic client – create a shortcut and define connection string (using properties SERVERNAME, DATABASE, COMPANY). Easy!

But days of the Classic client are almost gone, and we are looking into the future. And the future is now! We have been working with RoleTailored client for a while now, and sometimes people ask me – how do I do the same in NAV 2013 and NAV 2015? How do I connect to Dynamics NAV 2015 with one click?

The approach is actually the same – create a shortcut and define connection string.

The only difference is in how we define a connection string. We don’t have same properties (SERVER, DATABASE, COMPANY) anymore, but we do have a possibility of composing Dynamics NAV URLs (and running them).

Let’s have a look (I have done this with NAV 2015)
1. Go to C:\Program Files (x86)\Microsoft Dynamics NAV\80\RoleTailored Client
2. Right-click on Microsoft.Dynamics.Nav.Client.exe > Send to > Desktop (create shortcut)

Create Shortcut
3. Right-click on the shortcut > Properties

Properties
4. In the “Shortcut tab”, in the “Target” field, after “C:\Program Files (x86)\Microsoft Dynamics NAV\80\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe” add the new connection string

Target

"DynamicsNAV://localhost:7046/DynamicsNAV80/CRONUS International Ltd./"

5. Click OK and double-click on the shortcut
6. Result!

So, what is the new connection string made of exactly? My URL above would translate to generic URL:

"dynamicsnav://myserver:7046/myInstance/myCompany/"

Further reading:

Technorati Tags: , , , , ,

This entry was posted in Dynamics NAV / Navision and tagged , , , , , . Bookmark the permalink.

One Response to How to connect to Dynamics NAV 2015 with one click?

  1. jfranco says:

    It also works in NAV 2016 without the quotation marks (at least for me):

    “C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe” dynamicsnav://myserver:7046/myInstance/myCompany/

    it’s possible to put the string with no company, NAV will start with the last company used. Just put // at the end, after the instance:

    “C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe” dynamicsnav://myserver:7046/myInstance//

Leave a Reply

Your email address will not be published. Required fields are marked *