For an intranet project, I need to open a certain folder for the convenience of the customer from within a Web App 2. How can I achieve that, with all the sandboxing? The shell doesn’t help, as the Xojo Web Server is on a different machine. This Javascript is working, when opened in the browser via an html.file, but I can get Xojo Web 2 to open such a file under “Resources”.
<script type="text/javascript">
function CallMe() {
window.open("file://H:/\PIBs und KIIDs/VIB/");
}
window.onload = CallMe;
</script>
I put that script into a HTML folder under Resources, but it seems that I cannot open it, with session.gotourl with whatever I’m trying. But I probably just tried too much, and I’m blind now.
Loading the HTML via textinputstream works, but the WebHTMLViewer is not executing the Javascript with LoadHTML(myInput).
It is probably something very simple, but I am just lost right now
It doesn’t need to necessarily be my approach as a solution path. Perhaps it helps to explain the issue:
For some processes, my customer has different folders with tons of files inside for guidance. One challenge of the Intranet would be to point the user to the specific folder he needs. These folders should then just appear either in a new(!) browser tab or by opening the file explorer on Windows, Sounds like a very easy “concept” … but I just don’t get how to achieve it. Thank you for any hint.