Problem opening Navision with a URL

JohnP
Member Posts: 56
I'm trying to open Navision (v5) using a couple of URLs like this one:
[url=navision://client/run?servername=DINGO%26database=TC1%20DATA%26company=Test%20Company1%26target=Form%2080000%26view=SORTING(Field1,Field3]navision://client/run?servername=DINGO% ... ld1,Field3[/url])%26servertype=MSSQL
The other URL is similar except that the company name has changed. The idea is to have links to open the smae form in different companies (for the time being, let's not go into why I want to do this). The URLs themselves were created by creating a link to the desktop from Navision.
Individually, they work OK except for the following problems:
(1) They want a database login whereas I want them to use a Windows login (so the user doesn't have to re-enter a password each time the link is used).
(2) It opens a new instance of the client each time. Even if I add the forcenewinstance=no parameter to the links (which is supposed to be the default state) it still wants to open a new client.
Has anyone got any ideas? I've checked the registry setting for finhlink as described in other threads and it seems OK.
Cheers
John
[url=navision://client/run?servername=DINGO%26database=TC1%20DATA%26company=Test%20Company1%26target=Form%2080000%26view=SORTING(Field1,Field3]navision://client/run?servername=DINGO% ... ld1,Field3[/url])%26servertype=MSSQL
The other URL is similar except that the company name has changed. The idea is to have links to open the smae form in different companies (for the time being, let's not go into why I want to do this). The URLs themselves were created by creating a link to the desktop from Navision.
Individually, they work OK except for the following problems:
(1) They want a database login whereas I want them to use a Windows login (so the user doesn't have to re-enter a password each time the link is used).
(2) It opens a new instance of the client each time. Even if I add the forcenewinstance=no parameter to the links (which is supposed to be the default state) it still wants to open a new client.
Has anyone got any ideas? I've checked the registry setting for finhlink as described in other threads and it seems OK.
Cheers
John
0
Comments
-
Try to test this out by removing some parameters from the url. One of them is making a new client to start. I think target and form are enough.0
-
Which login type will be used is decided on FIN.ZUP file (default zup file). If there is written that your last login was through windows authentication, it will use windows authentication.0
-
JohnP wrote:I'm trying to open Navision (v5) using a couple of URLs like this one:
[url=navision://client/run?servername=DINGO%26database=TC1%20DATA%26company=Test%20Company1%26target=Form%2080000%26view=SORTING(Field1,Field3]navision://client/run?servername=DINGO% ... ld1,Field3[/url])%26servertype=MSSQL
The other URL is similar except that the company name has changed. The idea is to have links to open the smae form in different companies (for the time being, let's not go into why I want to do this). The URLs themselves were created by creating a link to the desktop from Navision.
Individually, they work OK except for the following problems:
(1) They want a database login whereas I want them to use a Windows login (so the user doesn't have to re-enter a password each time the link is used).
(2) It opens a new instance of the client each time. Even if I add the forcenewinstance=no parameter to the links (which is supposed to be the default state) it still wants to open a new client.
Has anyone got any ideas? I've checked the registry setting for finhlink as described in other threads and it seems OK.
Cheers
John
Hí everybody
Try this if you are using windows XP PROFESIONAL SERVICE PACK 2 and other Windiwos versions with navision 3.70 or hiher:
Run regedit and find the key:
[HKEY_CLASSES_ROOT\navision\shell\open\command]
Remove the double backslash so that there is only single backslash in the
path to finhlink.exe
Desktop shortcuts and email links should work again. If you use group policies you could then roll this change out to all machines. Otherwise just create a .reg file that people load into their machines.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\navision]
"URL Protocol"=""
@="URL:Navision Protocol"
[HKEY_CLASSES_ROOT\navision\DefaultIcon]
@="C:\\Program Files\\Microsoft Business Solutions-Navision\\Client\\finhlink.exe"
[HKEY_CLASSES_ROOT\navision\shell]
[HKEY_CLASSES_ROOT\navision\shell\open]
[HKEY_CLASSES_ROOT\navision\shell\open\command]
@="C:\\Program Files\\Microsoft Business Solutions-Navision\\Client\\finhlink.exe "%1""
after the change
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\navision]
"URL Protocol"=""
@="URL:Navision Protocol"
[HKEY_CLASSES_ROOT\navision\DefaultIcon]
@="C:\\Program Files\\Microsoft Business Solutions-Navision\\Client\finhlink.exe"
[HKEY_CLASSES_ROOT\navision\shell]
[HKEY_CLASSES_ROOT\navision\shell\open]
[HKEY_CLASSES_ROOT\navision\shell\open\command]
@="C:\\Program Files\\Microsoft Business Solutions-Navision\\Client\finhlink.exe "%1""
regards0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions