HYPERLINK changes URL-address

Emerik
Member Posts: 50
Hi all,
I have a problem with hyperlinks.
I've written a very simple codeunit with the following code:
When I run it, a browser opens with the URL:
http://www.mibuso.com/%20"http://www.mibuso.com/"
Every time the HYPERLINK function is used, this happens.
What can be the reason and, of course, the resolution?
The client version is Attain 3.60 and cannot be upgraded.
Thx for any help.
Regards,
Emerik
I have a problem with hyperlinks.
I've written a very simple codeunit with the following code:
OnRun() HYPERLINK('http://www.mibuso.com');
When I run it, a browser opens with the URL:
http://www.mibuso.com/%20"http://www.mibuso.com/"
Every time the HYPERLINK function is used, this happens.
What can be the reason and, of course, the resolution?
The client version is Attain 3.60 and cannot be upgraded.
Thx for any help.
Regards,
Emerik
0
Comments
-
are you running this from a command button or something?
this is something i would see if the bottons properties are filled AND you added code behind the button. so it's running both0 -
Hi Savatage (and other readers),
No, the problem was first discovered somewhere else, and the investigation of the problem led to this experiment, where I just made a very simple codeunit, as described, and ran it from the Object Designer.
There is no hidden code. The behaviour of the HYPERLINK function is faulty.
Kind regards,
Emerik0 -
So every hyperlink you try is showing double?
your example//
http://www.mibuso.com/%20"http://www.mibuso.com/"
Or not always?
Did you debug to see if this CU is being called 2x?
PS what version? I know we have no issues with Hyperlink.
Here's a post that suggest using WSH Shell instead of hyperlink due to it's buggyness
viewtopic.php?t=12861
if buggyness is actually a word0 -
what do you want to open? An URL or an file like a *.doc or run a *.exe :?:
RegardsDo you make it right, it works too!0 -
Savatage wrote:if buggyness is actually a word0
-
Garak:
what do you want to open? An URL or an file like a *.doc or run a *.exeSavatage:
So every hyperlink you try is showing double?
Or not always?
Did you debug to see if this CU is being called 2x?
I solved the problem temporarily by a shell command:SHELL('iexplore ' + URL);
But it is neither browser-independent nor pretty nor solving the real problem.
Kind regards,
Emerik0 -
Emerik wrote:But it is neither browser-independent nor pretty nor solving the real problem.
Kind regards,
Emerik
You are experiencing something strange :-kMicrosoft Navision requires that the Fin.stx file contain a list of all file types that are supported by the hyperlink command.
perhaps it lies in your fin.stx file :-k do all your machines experience this problem?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