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

Ok... I've been trying to setup a database to be viewable via the web.

Unfortunately there is not much help from FMP on this...

Setup:

FMP5 Unlimited & WSC-IIS

OS - NT4.6a

WS - IIS

I don't know how to display a field's value on the web. This is driving me nuts! I've downloaded Brian Dunnings "CDML" Master Class which helped me alil' but I just can't get the ******* thing to work. I'm not sure if it's a setting or what! I've already set up the Admin to host that particular database. I've set up the database as directed in the WSC connector PDF. The Form properties are right... I tried creating a test, but nothing seems to work. I've got to be missing something! Everyone else seems to have it under control.

Can anyone help? I'm ready to scratch the whole thing and give up!

Are you able to 'see' FM? Can you use a URL like this:

http://IP:port/FMPro?-dbnames

IP of the host computer and the port nominated in the WebCompanion setup.

Good Luck.

Garry

  • Author

Yup! If I enter in what you requested I get an error... It's a FMP Error so I know it's seeing it. I've attached a screen shot of it.

bammo.zip

Addam,

I wasn't able to read the image in the doc. However, FM is doing something.

Is Instant Web Publishing enabled? If it is you should be able to, at least, get a default page. The URL would be:

http://IP:port

All the best.

Garry

  • Author

I have enabled Instant web publishing and I am getting the default FMP Home page... It looks great, but I need to create my own page... the web companion nav is garbage.

If you need your own page... you probably need to turn off Instant web publishing and go to Custom.

  • Author

Gotcha! Soo.... I've started using the CDML tool, but I can't get any information out of the database... I'm following all the directions... The HTML Code looks correct. But no info...

  • Author

Please forgive me for my ignorance here. I've created a basic HTML document using the CDML tool. The CDML resides in a form...

Here is the HTML code I'm using... Shouldn't this work? Or am I doing it wrong?

<HTML>

<HEAD>

<TITLE>None</TITLE>

</HEAD>

<BODY>

<H2>Show me stuff...</H2>

<P><FORM ACTION="FMPro" METHOD="post">

<P><INPUT TYPE="hidden" NAME="-DB" VALUE="bammo.fp5">

<P><INPUT TYPE="hidden" NAME="-recid" VALUE="[FMP-currentrecid]">

<P><INPUT TYPE="hidden" NAME="-lay" VALUE="Layout #1">

<P>Field Name1<BR>

<INPUT TYPE="text" NAME="First Name" VALUE="[FMP-Field: First Name]">

<P>Field Name2<BR>

<INPUT TYPE="text" NAME="First Name" VALUE="[FMP-Field: Last Name]">

</FORM>

</BODY>

</HTML>

To get this format file/page to "work" you can call it with this URL:

http://IP:port/FMPro?-db=bammo.fp5&-lay=Layout%20#1&-format=thepage.html&-findany

For "The Page" to submit to the database you will need an Action Tag, e.g.:

<input type="submit" name="-edit" value="Edit Rec">

You will also need to name a Format file in the FORM, e.g.:

<input type="hidden" name="-format" value="thepage2.html">

All the best.

Garry

Get a copy of Home Page 3. It's NLA but it makes learning this stuff simple IMHO. Look around the web for the Trial version -- it's easy to get more than 30 days out of it.

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.