Hi. I’m trying to set up an action within Axure to launch a locally stored HTML file. Is there any way of doing this? I tried entered the full path for the file on my computer, but it didn’t do anything. The closest post I could find related to this was a bit old, and I was wondering if anyone had a solution / workaround.
I’m using a Windows machine and Chrome, if that matters.
Hello Carlton,
Thanks for submitting this topic.
In both Axure Cloud, and the Local Preview from Axure RP, I’m afraid this isn’t possible. The limitation comes from the built-in security of both of these methods.
However, it is possible to include a link to a local file, and have that file display in your prototype when published using the ‘Publish Locally’ method. This method generates a local HTML file, which can include a framed link to other HTML files on your machine. Here’s how:
- Open or create an Axure RP project.
- Add an ‘Inline Frame’ widget to your canvas, then adjust the size and position.
- Double click the Inline Frame, then select ‘Link to an external URL or File’.
- In the path field, add the local path to your HTML file, be sure to include the filename and extension. For example: /Documents/Cool_Project/PageName.html
Once configured using the steps above, we’ll need to ‘Publish Locally’ from the ‘Share’ dialogue box in Axure RP. Opening a local copy of your published project will open a HTML version of your project in your browser, with your embedded HTML file displaying in the frame.
I hope this proves useful, but it might be very similar to the method you previously discovered. Should we find a better solution, I’ll be sure to update this thread.