HTML widget not working when dashboard is locked

Hi, I am using this sampple code (HTML and Javascript) to display the current date and time. It works only when the dashboard is unlocked, the HTML widget does not display the datetime when I lock the dashboard.

[code]

Test.js

Hi Fourkane,

do you have the link to the dashboard?

best regards
Michael

Hi Michael,

Here is the link of my dashboard: https://firki.us.cumulocity.com/apps/cockpit/index.html#/device/407/dashboard/2985297

It turns out you have to refresh the entire page after you lock the dashboard. You can still investigate why the dispaly dispears when locking or unlocking the dashboard.

Thanks

Hi,

thanks for the link. On which browsers do you see the issue?

best regards
Michael

Chrome