Jump to content

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

Recommended Posts

Posted

I am developing an online searchable database for my clients. I used CDML creator and then modified the source code. It is very simple: a search page to enter criteria and display a list of found records and a detail page for any selected record. Display only, no updates.

I have the basic formats working offline in localhost. But, I can't get them to run online. We have our server hosted offsite. We installed FM6 on the server. However, the Web folder was installed directly to the server folder (not under Filemaker/Filemaker Pro folders)...is this the problem?? (When I take Web out of the FM folders offline, the application does not work in localhost.) I tried to just create the FM folders on the web server and move the Web folder under them, but that didn't work (probably needs a registry setting??)

I can get to the "default.html" file, but cannot get to the search page.

It is at www.herdease.net/web; the search page is www.herdease.net/web/search.html.

The database is opened and set for web companion. I had a port conflict with port 80 on the server, so it is set to port 1200.

Also...Questions:

1. I followed the stream regarding relational valueslists and still haven't found a way to do one. Is it possible to select a different valueslist for field 2 based on the value entered in field 1, using FMP-IF? For example, if field 1 (Species) is Dog, then I would want to display the DogBreeds valuelist in field 2 (Breeds); if Species=Cat, then use CatBreeds valueslist in Breed...etc

2. How can I save the values in the search criteria (in variables) so that I can display them on the results screen?

Thanks.

Posted

I use a symbolic link to the web server root from the Filemaker Pro folder. Here is an example:

$ ln -s /Library/WebServer/Documents Web

I'm not sure how Windows would do this type of thing. However it may be worth trying a "Shortcut".

1. Because Relational ValueLists do not work through WebCompanion, [FMP-InlineActions] seem to be a reasonable workaround.

2. Use the [FMP-CurrentFind] and [FMP-FindValueItem] tags.

All the best.

Garry

Posted

OK, I guess that means that the FMP Web folder must be under Filemaker Pro. But, it doesn't work if I just create the folders and move Web, so I guess we will have to re-install FM using the correct defaults?? Anyway around that (or am I not understanding the problem; which is possible as I am not very web-savvy!!)

Garry, thanks for the hints on the valueslist. I am not proficient with CDML tags, so I will have to do some research and training (using the CDML creator was a great start, but now I need to know more.)

Posted

A couple thoughts on the server set-up:

You are just about there....Looks like your server is running IIS at the default port 80. In addition to that you are also trying to run FM's web companion server on the same box. To do so you will need to set FM to run over a different port number (as you are attempting). Port 591 is the designated port for FM and can be set in web companion. With this setup, your FM files would be accessible at something like http://www.heardease.net:591/thisproject/welcome.htm. You would have your welcome page in a directory (called whatever you like--I used "this project" above as an example) inside of FM's web directory. Your CDML (found set and detail pages) pages can also go in the same "thisproject" directory, or better yet in a separate directory of the same name, "this project", in FM's "cdml_format_files" directory.

Hope this helps....

This topic is 7200 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.