Jump to content
Server Maintenance This Week. ×

FM5 CDML Changes?


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

Recommended Posts

  • Newbies

Okay, maybe this isn't a CDML problem, but it's got me cowed. Anyhow--I've got a FM database that I'm converting from FM4 to FM5. The database's data is available over the company intranet using pages that I constructed with HomePage 3.0. The conversion worked fine--in Filemaker. When I go to the web pages (which I've updated with the new file extensions) I suddenly can't find the related records. They're right there when I look at the data in FileMaker, but blank when I look on the web. This all worked fine before I "upgraded" to 5. Have I missed something or did they change something and not tell us (me) about it?

------------------

Link to comment
Share on other sites

One difference I have found (not that I have found many yet) is that Web Companion 5 ignors the .fp5 extension of the database name. This is great for cross-platform issues and should have been in version 4.

Now, I reckon the problem is that the relationship name in the [FMP-Pportal] CDML tag does not quite match the name of the actual relationship. Exactly why this mught be zI cannot guess, but start looking there and post back your findings to the forum.

Link to comment
Share on other sites

  • Newbies

quote:

Originally posted by dspires:

What does the source code for the HTML that FMP is putting out look like?

The code that HomePage 3.0 generated looks like this:

<TD WIDTH=316>

<P><FONT FACE="Arial">[FMP-FIELD: IMs::IM Name]</FONT></P>

</TD>

The code that appears when I go to "View Source" mode in Netscape looks like this:

<TD WIDTH=316>

<P><FONT FACE="Arial"></FONT></P>

</TD>

------------------

Rusty Andrews

Technical Specialist

Logistics Management

Lockheed Martin Space Systems Missiles & Space Operations

Link to comment
Share on other sites

  • Newbies

BY THE WAY: Just to clear up any questions before they get asked:

Is the field on the FMPro 5.0 layout that the HTML is referencing? YES

Is there data in the field? YES

The related file is named 'IMs'.

The field that's not being shown is named 'IM Name'.

Can I access the data using just FMPro? YES

Link to comment
Share on other sites

  • 2 weeks later...
  • Newbies

having a problem similar to Randrew0...

the database stopped working after i converted it from FM4 to FM5. it works perfectly in Filemaker, but the same database no longer works on the internet - and the only change was the conversion.

when accessing it online (it is being accessed in a search capacity), I get the error "No records found: modify your search criteria and try again"

the html code for it, that used to work, is:

<input type="hidden" name="-Max" value="100">

<INPUT TYPE="image" SRC="media/findit.gif" NAME="submit" border=0>

<form action="FMPro" method="Post">

<input type="hidden" name="-DB" value="ch2.fp5">

<input type="hidden" name="-Format" value="search2.html">

<input type="hidden" name="-Max" value="100">

<input type="hidden" name="-SortField" value="f1">

<INPUT TYPE="image" SRC="media/showall.gif" NAME="-FindAll" border=0>

</form>

and, coincidentally, if i am trying to look at these pages locally, rather than over the server, i get the alert error: "unable to find file or directory blah/blah/blah/FMPro - check the name and try again"

i feel as thought there is something simple in that html code above that needs to be changed, as a result of the conversion

any hints are appreciated.

thanks.

Link to comment
Share on other sites

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