openurl from ulc ux

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
7 posts • Page 1 of 1
User avatar
kilianvp
Posts: 443
Joined: Fri Jan 16, 2015 10:29 am

openurl from ulc ux

Post by kilianvp »

hey!
in my current project i use a pdf as help file.

openurl works everywhere except ulc ux.

"Unexpected state, Qt, This plugin does not support QPlatformServices::openUrl() for 'http s://192.168.56.1:6080/help/de_AT.iso88591/help.pdf'."

I already have a function that generates me the Web URL to the PDF file!

is there any way to open a popup or add a href? :(

User avatar
agruber
Posts: 147
Joined: Tue Sep 07, 2010 2:52 pm

Re: openurl from ulc ux

Post by agruber »

Hello,

When you call openURL an external program should be opened. The issue you are facing is probably the result from the ULC UX not be able to run other programs from your server.

What you could do is to open your PDF URL with an HTML link from a webview EWO and set the property ulcClientSideWidget to true.

Its a bit hard to explain, I have tried something similar last week. See attached example. Just take a look a the files and adapt them to your needs.

BR, Andreas
WinCC OA Customer Care https://www.winccoa.com/fileadmin/image ... Widget.zip
Attachments
clientSideWidget.zip
(973 Bytes) Downloaded 272 times

User avatar
kilianvp
Posts: 443
Joined: Fri Jan 16, 2015 10:29 am

Re: openurl from ulc ux

Post by kilianvp »

hey! you forgot the attached example :)

User avatar
agruber
Posts: 147
Joined: Tue Sep 07, 2010 2:52 pm

Re: openurl from ulc ux

Post by agruber »

Kilian von Pflugk wrote:
hey! you forgot the attached example :)
You are absolutely right, added it just now.

User avatar
kilianvp
Posts: 443
Joined: Fri Jan 16, 2015 10:29 am

Re: openurl from ulc ux

Post by kilianvp »

works perfect! made my day!

nedzad
Posts: 32
Joined: Fri Feb 17, 2017 3:44 pm

Re: openurl from ulc ux

Post by nedzad »

Hello,

I have a similar problem, I just need to open new tab from ULC UX. I tried this solution with loading html page in webview that opens new tab on click, but when i set the property ulcClientSideWidget on true, the page does not load in ULC UX (it loads when i start panel directly in WINCC OA) and when i set the property to false, the page loads, but nothing happens on click. Any ideas?

Nedžad

dependra.rathore@lntebg.com
Posts: 4
Joined: Fri Feb 09, 2018 8:32 am

Re: openurl from ulc ux

Post by dependra.rathore@lntebg.com »

Hello,

I am also facing same problem, I want to open new tab from ulc ux.
when i set ulcClientSideWidget to false, html page loads in webview in ulx ux (refer attached snapshot), but nothing happen in both (ulc ux and server UI) on clicking link. When i set ulcClientSideWidget to true, html page doesn't load in webview in ulc ux.
Pls suggest.

Thank you in advance.

Regards,
Dependra Singh Rathore

Post Reply
7 posts • Page 1 of 1