Hi,
I have an external application that i start from NAV. Now from that application I want to have the possibility to open a specific form in NAV.
I want to send the hyperlink I get when I from that form choose File -> Send link to desktop. Is it in someway possible to extract this info from C/AL?
I need this info on runtime so it's not an option to use the function and copy the value.
_____________________
NAV Freelance Consultant
0
Comments
If you paste your link into notepad you will get a text starting from: navision://client/run?database=...
This link is 'runnable' - I mean you can copy it to Start->Run menu and it will launch recently registered NAV client. Which means that you can use any SHELL or EXEC or whatever function which external application use for running any operating system command.
There are few catches. You have to use Windows authentication in NAV. If you haven't installed NAV client properly but just copied directory with NAV executables, NAV is not registered and the link won't open NAV client. If you installed more than one NAV client on the workstation it will launch recently installed NAV Client - there is no control over this.
Hope this helps.
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
It seems to me that they might of help. Read the Online Help for more information.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community