JavaScript/Cookies for SDM on HMI

Hello everyone,

currently I’m facing a rather odd issue, where I am not able to find a solution.
I’m setting up a new mappView project on an X20EM1613. The HMI in question is a 6PPT80.156B-10A.
Basic usage is no issue, but when I try to open the page where I want to display the SDM I get greeted with the following message:


When I accept, a very old version of the SDM ( (c)2017 ) is loaded.

What am I missing to get this working correctly?
SDM is implemented via WebViewer with the following settings:

I’m grateful for any help and will happily provide any further information.

AS 6.1.1.14 | mappView 6.2.0 | Touch Image 1.7.0

Hi!

I guess you’re serving the mapp View HMI via “http”, while the SDM is served via “https”.

So you have a “unsecure” page, which includes a “secure” page. This is typically blocked by the browser, as this could expose secure data (e.g. cookies) in the context of an unsecure page. In your case the SDM is not able to set his cookies, which switches SDM into “fallback mode”, which does not require JavaScript, etc. but uses plane HTML.

If you switch mapp View to https it should work.

CHH

2 Likes

Thank you Christian!
This was the missing link - a slight oversight on my end. Thanks for pointing it out - everythink is working as intended now.

2 Likes