Solution has buttons linking to support email and Worxinfo website. They work fine in Developer but nothing happens when solution accessed on Server from a Client. Any suggestions please.
var BtnPressed = application.getMethodTriggerElementName()
if ( BtnPressed == ‘TechSupport’ )
{ application.showURL(‘mailto:pip05@worxinfo.com’); }
if ( BtnPressed == ‘WorxinfoWeb’ )
{ application.showURL(‘http://www.worxinfo.com’); }
Thanks in advance
Graham Greensall
Worxinfo Ltd
Servoy Developer
Version R2 2.2-build 328
Java version 1.4.2_08-b03 (Windows XP)
On what OS are the clients running?
Are you sure the code gets executed? (to make sure show a dialog from the plugins dialog first before calling showURL)
Jan thanks for suggestion.
I’m now pretty sure it’s not Servoy as when I was giving a demo at new clients office both mailto: and showURL worked fine. Someone suggested that it may due to ‘loopback’ on the Wifi router as on my own network we’re going out to an internet URL in order to connect to a computer thats also on the local network - beyond my understanding.
Added the Dialog step as suggested and now works fine using OSX (on wifi network) but still fails on XP - will keep testing.
Regards
Graham Greensall
Worxinfo Ltd