Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

  • 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?

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

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.

  • 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

  • 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

  • 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.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.