Question : Filemaker Pro Web Sharing issue

I've set up my FMP database... Imported in my data and one of the things that gets imported in is raw html code that is sitting in my SQL servers database.

So I created a Web Viewer in Filemaker Pro and then set it as web address of...
 "data:text/html," & Inventory::Item Text

The data looks great in the Filemaker Pro program but when I open it in FireFox the web viewer just has a smaller grey outlined box.
So I figured maybe something with Firefox, so I tried for the first time to connect up to my web shared site using IE8 and I got page not found.. So I went to the local machine and tried IE and same thing, but it comes up just fine in FireFox..
Any ideas?
I also tried to find the webserver files but no luck. I do however have IIS installed on my machine running another site. But I chose a separate port for the FMP site

Thanks

Chip

Answer : Filemaker Pro Web Sharing issue

Hi Chip

I spent an hour and a half playing around with your file this morning and I can't get it to work.  I googled around and found that other people had problems publishing raw HTML in a webviewer viewed via IWP also.  Unfortunately, I don't have time to dig much deeper - maybe another expert can step in to help you here?

To get the webviewer to display content (when viewing directly within Filemaker) automatically, I added a script trigger to your Form View layout which runs your MyWebScript each time a record loads - see attached.  This may or may not be useful.  Obviously, I couldn't use your HTML code in the script because that's in your MySQL database which I cannot access, so you'll want to edit the 'set variable' script step to pick up the correct HTML.

Regarding using FMP to create HTML sites as a template - if you file is hosted on Filemaker Server, you can use Filemaker's PHP Site Assistant tool to automatically generate a PHP site based on your database.  This is a bit limited and clunky, but it works for simple stuff.  Alternatively, if you've got some experience with web development and PHP you can build your own PHP site from scratch using Filemaker's API for PHP (again only if you have Filemaker Server).  There are several books out there on how to do it, but I can highly recommend this one to get you up and running really quickly:  http://www.fmwebschool.com/api_book.php

Sorry I couldn't fully solve your problem.

 
 
Random Solutions  
 
programming4us programming4us