Application.showURL not working in smart client

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Application.showURL not working in smart client

Postby siemon.geeroms » Fri Feb 26, 2016 4:21 pm

Hi,

Am I correct to presume that the method "application.showURL" is not working in the smart client? I would like to use this functionality to open a webpage from the client since I'm not able to embed it as I can with the web client using an Iframe.

Suggestion to embed it in smart client would be useful since we tried to use svyJFXWebView but this craches the JVM at random intervals.

Kind regards,

Siemon
siemon.geeroms
 
Posts: 9
Joined: Fri Jan 08, 2016 5:15 pm

Re: Application.showURL not working in smart client

Postby sanneke » Fri Feb 26, 2016 4:34 pm

application.showURL('http://www.servoy.com')

Works fine for me. But don't forget the http:// part.
Sanneke
Yield Software Development: Need help on your project?
yieldsd.com
User avatar
sanneke
 
Posts: 383
Joined: Thu Jun 15, 2006 9:20 am
Location: Amersfoort

Re: Application.showURL not working in smart client

Postby siemon.geeroms » Fri Feb 26, 2016 5:33 pm

I've tried it with some colleagues and those that are running win 10 the method is returning true but the browser window is not openend. Mac and older windows versions are running fine, can this be looked at please?


Thanks
siemon.geeroms
 
Posts: 9
Joined: Fri Jan 08, 2016 5:15 pm

Re: Application.showURL not working in smart client

Postby siemon.geeroms » Fri Feb 26, 2016 5:58 pm

found the issue you have to select your default browser in system settings :)
siemon.geeroms
 
Posts: 9
Joined: Fri Jan 08, 2016 5:15 pm


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 18 guests