How download file/open URL in new browser tab via ULC UX?

Discussion about recent product features & solutions!
12 posts • Page 1 of 2
senchenkov_n
Posts:16
Joined: Mon Mar 20, 2017 6:47 am

How download file/open URL in new browser tab via ULC UX?

Post by senchenkov_n »

Hi, dear experts!

I have a problems about ULC UX.
I read this topic https://portal.etm.at/index.php?option= ... id=15#5540

1) I want to download file via ULC UX. openUrl() function doesn't work on ULC UX. I use html-page with QWebViewEWO widget and user open http://servername/data/ulc/start.html, then click on panel topology, open panel with QWebViewEWO widget and then: if ulcClientTrueSideWidget = true - you can click on url and browser start download file, but all windows in ULC UX appears with headers (see screenshot). And this 2 buttons with window header line starts blinks when you open another panels
If ulcClientTrueSideWidget = false - you can click on url, but nothing happend.
2) I want to download file via CTRL script - i use system("start /b iexplore \\"myURL"\\"") - but internet explorer open this url on server, and nothing happens in client browser.

How i can download file via ULC UX? How i can open URL in new browser tab?

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

Re: How download file/open URL in new browser tab via ULC UX?

Post by kilianvp »

set

Code: Select all

ulcClientSideWidget = true
make a own html file and load it

Code: Select all

example
if you click that link it will open a new tab with example . com

senchenkov_n
Posts:16
Joined: Mon Mar 20, 2017 6:47 am

Re: How download file/open URL in new browser tab via ULC UX?

Post by senchenkov_n »

I said that i do it, but all windows in browser are blinks like at screenshot. They are become with top line blinks like someone change windowFlags property to FramelessWindowHint and then WindowTitleHint and again and again like it blinks.
Maybe video can explain problem?

senchenkov_n
Posts:16
Joined: Mon Mar 20, 2017 6:47 am

Re: How download file/open URL in new browser tab via ULC UX?

Post by senchenkov_n »

I tested QWebViewEWO with ulcClientSideWidget=true - if you open any panel with this QWebViewEWO - windows top headers will start blinks.
If you reload browser, this problem repeat then you open panel with ulcClientSideWidget=true QWebViewEWO again.
Is it a bug? What am i doing wrong?

senchenkov_n
Posts:16
Joined: Mon Mar 20, 2017 6:47 am

Re: How download file/open URL in new browser tab via ULC UX?

Post by senchenkov_n »

I repeat this problem at Getting Started 3.15 Project.
See screenshots:
1) i create at panel topology new panel
2) i create new ctrl-manager and script to run new ULC UX 2.0
3) i run IE and login to wincc oa
4) i open my new panel with QWebViewEWO widget with ulcCleintSideWidget=true
5) i open link from html-page
6) i returned to wincc oa tab in IE
7) i want click on panel
8) all windows have headers, some windows have 2 headers
9) i open another panel from navigation meny
10) i clicked button from another panel - all windows have headers again then mouse get focused at any panel https://www.winccoa.com/fileadmin/image ... creens.zip
Attachments
screens.zip
(719.12 KiB) Downloaded 243 times

schneebergera
Posts:89
Joined: Sun Apr 03, 2016 5:52 pm

Re: How download file/open URL in new browser tab via ULC UX?

Post by schneebergera »

Hello,

in screen2.PNG delete vision/startup.pnl; restart the control manager.
..try to delete your browser cache; restart iExplorer.

regards,
Andreas

senchenkov_n
Posts:16
Joined: Mon Mar 20, 2017 6:47 am

Re: How download file/open URL in new browser tab via ULC UX?

Post by senchenkov_n »

I did it (delete history, cookies, restart IE) first and did it again - not worked
I delete vision/startup.pnl, and again delete history, restart windows, restart project... - not worked.
I reinstall windows, update windows - not worked.
This problem is not in browser.
Can anyone resolve my problem?

vince2e
Posts:39
Joined: Tue Aug 02, 2016 4:19 pm

Re: How download file/open URL in new browser tab via ULC UX?

Post by vince2e »

See this page in the help file: qthelp://wincc_oa/doc/ULC_UX/ulc_ux_restrictions.htm

There is a bullet that says "The ULC UX cannot be opened inside a WebView EWO"

senchenkov_n
Posts:16
Joined: Mon Mar 20, 2017 6:47 am

Re: How download file/open URL in new browser tab via ULC UX?

Post by senchenkov_n »

Are you kidding me? :blink: I don't open ULC UX inside WebView EWO. I want to open links in external tabs and download files frow ULC UX!

vince2e
Posts:39
Joined: Tue Aug 02, 2016 4:19 pm

Re: How download file/open URL in new browser tab via ULC UX?

Post by vince2e »

Maybe I misunderstood, but this is what you wrote:

" I use html-page with QWebViewEWO widget and user open servername/data/ulc/start.html, "


There's also a restriction that says, "All file based operations are executed in the server", my guess is this includes downloads.

12 posts • Page 1 of 2