Running JIM prototype without JIM installed

Usman Ajmal shared this question 6 years ago
Answered

Once a prototype is made, is there a way I can send it to my team members to try it out without the need of having JIM installed on their system?


I tried export to HTML but when I executed it, I could only saw a left panel. Right panel did not have anything. Do I need to do some configurations because chrome's console printed following:


Failed to load resource: Resource failed to load file:///C:/Users/usman/work/PLUMgrid/2012.10.16/pg-prototype/listComments.action?refresh=false


XMLHttpRequest cannot load file:///C:/Users/usman/work/PLUMgrid/2012.10.16/pg-prototype/review/screens/d12245cc-1680-458d-89dd-4f0d7fb22724.html?_=1350433536554. Origin null is not allowed by Access-Control-Allow-Origin.


Failed to load resource: Resource failed to load file:///C:/Users/usman/work/PLUMgrid/2012.10.16/pg-prototype/comments/annotations.json

Comments (9)

photo
1

Hi,


Chrome can't load local html if you don't configure it. So when you want to allow a local file to access a local file in google chrome you go to the terminal and run $google-chrome --allow-file-access-from-files. All the other browsers (Firefox, IE, Safari) don't have that problem. So anyone can see your prototype without having JIM installed if they open it with Firefox, IE or Safari or they open it using Chrome with that option.


If you publish your prototype online using Usernote, that Chrome issue disappears. So anyone will be able to see your prototype in Usernote, no matter the browser are they using.

photo
1

I am using Windows. Can you tell me how can I allow chrome to access file access from files on Windows?

photo
1

Open Prototyper and go to File -> Preferences. Then, in 'default browser' select the Chrome executable. Then press ok.

photo
1

That has solved the problem. Still seeing following error.


Failed to load resource: Resource failed to load file:///C:/Users/us/work/PLUMgrid/2012.10.16/html-prototype/pg-prototype/listComments.action?refresh=false


XMLHttpRequest cannot load file:///C:/Users/us/work/PLUMgrid/2012.10.16/html-prototype/pg-prototype/review/screens/d12245cc-1680-458d-89dd-4f0d7fb22724.html?_=1350583750395. Origin null is not allowed by Access-Control-Allow-Origin.


Failed to load resource: Resource failed to load file:///C:/Users/us/work/PLUMgrid/2012.10.16/html-prototype/pg-prototype/comments/annotations.json

photo
1

I think I don't understand what you mean. Where are you seeing that error message?

photo
1

When you change the default browser.The error occurs.

photo
1

You can export to html first.And go to find the index file,use other browser to open it,but i don't know why it's not available to open other screens.

photo
1

Hi Ben,


I don't understand you very well. Did you tried selecting Chrome as the default browser in Preferences and the exported HTML still empty?

photo
1

Thank you sooooo much,I set firefox as default and all is done.Confused for a whole day.The problem is just as you said in the first floor.Thank you so much for reply. Have a nice day and see you later.