When displaying any dashboard from iframe from PowerShell Universal 3.8.8 i have a Javascript error
One or more errors occurred
Value cannot be null. (Parameter ‘source’)
Note : It was working on PowershellUniversal 3.7.11. For the use → several dashboards from different sources including a PowerShellUniversal dashboard are displayed on a giant screen. To operate a rotation of the differents dashboards we use a raspberrypi with reveal.js which encapsulates all the dashboards in IFRAME
Upgraded from 3.7 to 3.8.12 and now 3.9.2 with same issue - using a dashboard as a tile in SquaredUp. Works fine when opening the pages directly in a browser.
One or more errors occurred
Value cannot be null. Parameter name: source
you mistaken : iframe is for displaying the Dashboard, no bug for iframe in a Dashboard.
I may have misdefined the problem. You will understand the problem more easily by creating a simple index.html file containing the code below → then open index.html with any browser
I’m still seeing this issue on 3.9.6, no issues on 3.7.14, we are running Xibo Digital Signage to display our dashboards on TVs which are running Android TV, the Xibo app on the TVs uses native Android WebView.
I just got back from holiday, and thought - “lets try out 4.0.9!” But alas, I suffer from the same issue - even when adding CookiePolicy to the appsettings.json in %ProgramFiles(x86)%\Universal
Edit: note that main site is not using SSL, I just added it to Universal as a test - ignore HTTPS section - it fails regardless.
I am also experiencing this issue with our LG webOS-based displays. The dashboards load fine on a standard PC browser, but when we push a page via our IPTV system we get the ‘Value cannot be null. Parameter name: source’ error. It used to work fine, but we had upgraded PSU to resolve some other issues.
We are running 3.9.12. I have tried adding the CookiePolicy value to appsettings.json but it made no difference.
After attending CPHDevFest and attending a hacker workshop, I got some insight, but I am not an expert!
But digging through the logs and checking the headers, I can see that it fails to set the cookie, cause the ‘secure’ property is set, and I am not using https.
Doing some further “hacking”, changing the iframe property in SquaredUp from http to https and adding a proper certificate on my PSU dashboard - things are now up and working as expected.
In short - to use https on the page loading the iframe, and ensure that the iframe source is https also.
“Cookies that assert SameSite=None must also be marked as Secure.”