Using Hyperlink(emailto) in Navision 5
 
            
                
                    guidorobben                
                
                    Member Posts: 157                
            
                        
            
                    Hi,
Since Navision 5, the following code doesn't work anymore:
HYPERLINK('emailto:username@domain.nl');
Somehow they changed the way hyperlink works. Does anybody have a idea how I can make this work?
Thanks,
Guido
                Since Navision 5, the following code doesn't work anymore:
HYPERLINK('emailto:username@domain.nl');
Somehow they changed the way hyperlink works. Does anybody have a idea how I can make this work?
Thanks,
Guido
0                
            Comments
- 
            I'm no HTML expert, but I always thought you did mailto links like this:
 mailto:matt@navision.com
 not
 emailto:matt@navision.com
 Maybe that will help.0
- 
            oeps, that was a typo.
 Mailto also doesn't work.0
- 
            After diving deeper into the rundll32 possibilities ... you could use this:IF ISCLEAR(MSCShell) THEN CREATE(MSCShell); MSCShell.Run('rundll32.exe url.dll,FileProtocolHandler mailto:me@waldo.be');
 where MSCshell is an automation variable of "'Windows Script Host Object Model'.WshShell"0
- 
            This also doesn't work since Nav. 4.0
 use following Code//Name DataType Subtype Length //WSHShell Automation 'Windows Script Host Object Model'.WshShell if isclear(WSHShell) then create(WSHShell); Varia1 := 0; //Variant Variable Varia2 := TRUE; WSHShell.run('cmd /c start mailto:renekaufmann@XXX.de',Varia1,Varia2); clear(WSHShell);Do you make it right, it works too!0
- 
            no, hyperlink and shell function
 you was al little bit faster than i with typing ;-)
 I'v make an coffee break between typing and posting.
 So your statement was faster then mine ;-)
 RegardsDo you make it right, it works too!0
- 
            garak wrote:no, hyperlink and shell function
 you was al little bit faster than i with typing ;-)
 I'v make an coffee break between typing and posting.
 So your statement was faster then mine ;-)
 Regards
 Ah, OK, because I tested it in 5.0 (no 4.0) and it worked ... .
 So solutions enough for this topic .                        0 .                        0
- 
            interestingly e-mail with *.ch works. Outlook E-Mail pops up.
 HYPERLINK('mailto:anything@test.ch');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
- 323 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



