02-08-2024 11:01 AM - edited 02-08-2024 11:53 AM
Dear community,
I currently have an html document which is located in the file Explorer under "Documents/Public" folder.
I am trying to get this HTML document to be presented into the components, embedded in a dashboard. However, with either a Web Content component or a File Viewer component (which will pinpoint to this specific file in Application Database File, as soon as I open the dashboard, it will load the html page into my default browser...
I am using OS v8.1 ... is it a known bug or the expected behaviour ?
What is even more strange, directing the Full File Name to a URL will correctly open a document in a dashboard ...
Regards,
Solved! Go to Solution.
05-21-2024 04:02 AM
Hi !
I got the message it was not considered as a "bug" ... There is a workaround though !
The workaround would be to use File Viewer component to refer to the .html page which should be on the server. For instance, I refer to "file://localhost/c:/pathtofolderyouwant/confirmation.html" in file viewer, and I chose a "URL" type, then it opens in the application as expected !
Regards,
02-08-2024 11:14 AM
I ran into this as well. Was hoping to use a static site generator for dashboard help pages and have the content saved as dashboard files. But the web viewer component was opening everything in a local client browser, not the dashboard component.
Let's claim its a bug so they fix it 😉
02-08-2024 12:30 PM
I agree that this looks like a bug, happening as soon as you specify the content as coming from a file rather than URL. @Sergey can you file it with Support please ?
02-13-2024 06:57 AM
Same issue. Let us know if you find a solution or reply from OS. Thanks.
05-15-2024 10:00 AM
@Sergey what is the status of this bug? Any news?
Or did you find a workaround?
05-21-2024 04:02 AM
Hi !
I got the message it was not considered as a "bug" ... There is a workaround though !
The workaround would be to use File Viewer component to refer to the .html page which should be on the server. For instance, I refer to "file://localhost/c:/pathtofolderyouwant/confirmation.html" in file viewer, and I chose a "URL" type, then it opens in the application as expected !
Regards,
05-21-2024 06:57 AM - edited 05-21-2024 08:47 AM
@Sergey I added the file under FileShare/Applications/Golfstream/Contents/test.html and then I added this path in the fileviewer as URL : file:///D:/OneStream/Fileshare/Applications/Golfstream/Contents/test.html
It is indeed reading something within the dashboard but it returns an error when i look at the HTML console on my computer :
Not allowed to load local resource: file:///D:/OneStream/Fileshare/Applications/Golfstream/Contents/test.html
However, when I run this from my local browser on the on-prem server, the page is returned fine.
05-21-2024 04:53 AM
Thanks for your update @Sergey . FYI, I contacted OS last week and they mentionned that they are aware of this "malfunction" (did you noticed, i cleverly avoided the word "bug" 😂) They noted it is an issue that will be solved, but no idea when.
05-21-2024 05:15 PM
We are looking into simple static site solutions as well since "no idea when" is how must of our bug reports and enhancement requests have gone.
If others are curious we are exploring: