Send link to Desktop in C/AL

cernst
Member Posts: 280
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.
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
NAV Freelance Consultant
0
Comments
-
Open manually the form in NAV you want to have opened from the external application, then select Edit->Copy Link, and you will get copied a full link to your form and record on the form.
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.
SlawekSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Did you also have a look at the form (and report) triggers OnCreateHyperLink and OnHyperLink?
It seems to me that they might of help. Read the Online Help for more information.0
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