Troubles with \"WebApp\"

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

Post Reply
11 posts • Page 1 of 2
jfily
Posts: 20
Joined: Wed Feb 05, 2014 10:59 am

Troubles with \"WebApp\"

Post by jfily »

Hi guys.
Seems like I need your help once again.

I'm porting an application from WinCC (on Windows XP) to WinCC OA (on Windows 7).

In the WinCC application, there is a web page launching a app using .net Framework 1.1 (yes ... it still exists). And it works like a charm.

Now, I need to do the with WinCC OA ... I was hard to make it work in IE10 but it's okay.

It would be great if I could embed the web page in WinCC OA but (unfortunatly, there is a but ...), the default web browser (EWO object) doesn't deal with plugins so I tried the Microsoft Web Browser Active X and, same result, i'm unable to launch the plugin.

Did anyone already have this problem ?

Thank you for your help.

thalter
Posts: 16
Joined: Thu Nov 04, 2010 7:19 am

Re: Troubles with \"WebApp\"

Post by thalter »

Hello,
We had also problems with some plugins.

Did you try to open it directly in the Internet-Explorer?
Our problems was a security setting in the Internet-Explorer.
When all is set in the Internet-Explorer so that the page opens without any pop-ups (the first time after starting IE), then it should also open in the
Active-x-Browser from within Win CC OA.

jfily
Posts: 20
Joined: Wed Feb 05, 2014 10:59 am

Re: Troubles with \"WebApp\"

Post by jfily »

Hello,

Thank you for you answer.

Actually it works fine in IE11 but not in the ActiveX Shell.Explorer in WinCC OA.

I even tried in a java web browser that uses IE ActiveX and it worked...

I really don't know what the problem is.

thalter
Posts: 16
Joined: Thu Nov 04, 2010 7:19 am

Re: Troubles with \"WebApp\"

Post by thalter »

Hello,
does it work in the IE11 without any pop-up Windows you have to confirm?
Does other sites work?
As which User is Win CC OA running?

User avatar
mkoller
Posts: 741
Joined: Fri Sep 17, 2010 9:03 am

Re: Troubles with \"WebApp\"

Post by mkoller »

Try to allow plugins in the WebView.ewo by using:
this.setAttribute("PluginsEnabled", true);

BTW: I found that the documentation does not describe this method of the WebView.ewo. Here it goes:

void setAttribute(string attribute, bool on)

for attribute the following strings are possible:
AutoLoadImages ... Specifies whether images are automatically loaded in web pages.
JavascriptEnabled ... Enables or disables the running of JavaScript programs.
JavaEnabled ... Enables or disables Java applets. Currently Java applets are not supported.
PluginsEnabled ... Enables or disables plugins in web pages.
JavascriptCanOpenWindows ... Specifies whether JavaScript programs can open new windows.
JavascriptCanAccessClipboard ... Specifies whether JavaScript programs can read or write to the clipboard.
ZoomTextOnly ... Specifies whether the zoom factor on a frame applies to only the text or all content.

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

Re: Troubles with \"WebApp\"

Post by agruber »

Hello,

If Martin Kollers suggestion does not work, you can try the attached executeable and see if that works. This is a simple .Net application which embeds the IE activeX, with that we could check if the problem is happening in the activeX itself.

If the problem persists, please contact the WinCC OA support directly as described here:
http://www.etm.at/index_e.asp?id=9&sb1= ... eite_id=13

BR,
Andreas GRuber https://www.winccoa.com/fileadmin/image ... eXTest.zip
Attachments
IEActiveXTest.zip
(14.09 KiB) Downloaded 317 times

jfily
Posts: 20
Joined: Wed Feb 05, 2014 10:59 am

Re: Troubles with \"WebApp\"

Post by jfily »

Thank you all for your help.

I'm going to try these solutions as soon as possible and I'll let you know the result.

jfily
Posts: 20
Joined: Wed Feb 05, 2014 10:59 am

Re: Troubles with \"WebApp\"

Post by jfily »

I tried all the solutions you told me :
- Inside IE10, everything is fine
- Inside the EWO with plugins enabled : nothing appears
- Inside the web browser you gave me : nothing appears

I guess it's a problem with IE config, but I disabled all the security options.

EDIT : It works inside web browser you gave me but on Windows XP with IE8

EDIT 2 : I'm going to try on a x86 system. I'm affraid the problem is something like this ...

EDIT 3 : I created a new virtual machine with Win7 x86 with IE11 and ... it works both on the web browser and the ActiveX web browser...

Arbudu
Posts: 13
Joined: Thu Sep 25, 2014 10:46 am

Re: Troubles with \"WebApp\"

Post by Arbudu »

Interested component WebView_ewo. No event fires linkClicked. Do not tell me under what circumstances triggered the event.

User avatar
treshnikov
Posts: 16
Joined: Tue Nov 12, 2013 7:11 am

Re: Troubles with \"WebApp\"

Post by treshnikov »

Colleagues, hello!
Have you solved the problem?

I have the following requirement: mimic panel should contains website (http://gate-er.sms-samara.ru:8080/kamges).

The site perfectly works in IE11 and Chrome, but does not work in WebView.ewo.
I suppose that the problem is - the old version of webkit which was used inside WebView.ewo.

Post Reply
11 posts • Page 1 of 2