March 28, 200718 yr I am publishing a local database created with Pro 8.5 with IWP. It has two web viewers. One contains a URL for an external web site and works nicely. The other is a chart using the wv.html and wf.swf files from the Web Viewer Charting Example download from FileMaker. When viewing the database with the application, the charts display fine, but I cannot access them from a web browser. I split out the web viewer from the tab so that is not the reason. Any ideas on why this is happening would be extremely welcome.
March 28, 200718 yr ... I swear to god, if one more person asks this question this week, i think i'll break down and cry... You have to put the files in your web server directory and then reference them via that... http://fmforums.com/forum/showpost.php?post/238899/
March 28, 200718 yr How about next week then since this one is half was through? I think have a faq section as I posted the other day would really help others. Especially those that are shy to ask questions sometimes... We really should prod Stephen on it. :)
March 28, 200718 yr Mmmm, i defintley think it would be handy... because some questions just come up over and over again... a FAQ would answer the questions straight off...
March 28, 200718 yr Author Perhaps I did not make myself clear. This is a slightly different issue. The file is being accessed from the same machine that is doing the hosting and the files are in place. The charts are not rendered. Any thoughts? The charts are rendered correctly in the application itself, but not via a web browser (on the same machine that is hosting the file via IWP).
March 29, 200718 yr No really, I'm pretty sure it's exactly the same issue. You are hosting the files over a network, the network path to your file is an ip address... hence a path that looks at the location of your fm file... when evaluated on your computer, will look something like file:///C:/myFmFiles/wv.html... because you are opening the FileMaker file locally. Unfortunatley, this won't be very useful to any user accessing over a hosted version of the file i.e. from either any FM client that's not the host client or any web browser... The reason it works on your computer (assuming you are using p2p and your computer is the host) is because in your case you are actually opening the file on your computer as a local version of the file rather than over a network connection and your file reference is valid. If accessing within your network, you need to put the files on a network share somewhere and point them to that... i.e. file://///192.168.0.32/fmfiles/wv.html If accessing outside your network, you need to host them on a webserver somewhere. i.e. http://211.27.0.33/fmfiles/wv.html or www.mywebsite.com/fmfiles/wv.html
Create an account or sign in to comment