Copy link to clipboard
Copied
RoboHelp HTML 8.0.2.208
In the default page of the help project, I need to include a javascript file that is on a file server on the LAN. When I test the page with the preview button, everything works fine, but when I compile the Air help, it can't access the JS file.
I've tried both of the following methds to include the file:
<script type="text/javascript" src="\\lan.local\folder\folder\folder\folder\file.js"></script>
<script type="text/javascript" src="file://lan.local/folder/folder/folder/folder/file.js"></script>
Both methods work in the preview, but not in the compiled help.
Why don't I just include the JS file in the project? The purpose of the file is to test if the user has LAN access. So the file has to be on the LAN outside of the help.
Thanks in advance for any help ![]()
Copy link to clipboard
Copied
I found the answer:
"HTML pages in the application sandbox cannot use the script tag to load JavaScript files from outside of the the application directory. "
Find more inspiration, events, and resources on the new Adobe Community
Explore Now