Jump to content

Serve and read web pages on same macintosh FM 4


This topic is 8279 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I would like to be able to experiment with CDML and see the results immediately in a web browser on the same machine, but I can't seem to get FileMaker 4.0 to do this on my Mac. Even though I have the web companion plug-in enabled, when I try to open web pages marked up with CDML, it doesn't serve the data. Any tips on making this work? Thanks.

Link to comment
Share on other sites

Hi, to see a page with the database fields populated, you need to open it by making a call through FileMaker, rather than just opening it in your web browser. Call the page and an action by url, using either 'localhost' or your own ip address (and the Filemaker port number if you've changed it). It'll look something like this:

http://localhost:591/myfolderpath/FMPro?-db=mydatabase&-lay=layout1&-format=mypage.htm&-error=myerrorpage.htm&-findAll

Your pages need to be within the FileMaker Web folder and the path to them is the relative one from there.

regards, jeff

Link to comment
Share on other sites

  • 3 weeks later...

Thank you. Part of my problem was a feature of Netscape 4.x that autocompletes URLs. So when netscape saw

<A HREF="http://localhost/FMPro?-db=Employees.fp3&-lay=Detail&-format=search.htm&-view">click here</A>

which is perfectly correct CDML, it tried www.localhost.com, which returns a 404.

So use IE to test CDML on your own machine, at least on a Mac. The owners of www.localhost.com have kindly posted an explanation of the problem..

Link to comment
Share on other sites

This topic is 8279 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.