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.

'Seeing' web layouts for queries

Featured Replies

Hi everyone.

I hope this is the correct forum. If not apologies.

I have a client who is running FM5 on Windows. They've been tapping into the FMP tables for their website store for years now, and recently decided to augment the interactivity, adding a few more tables (files) to the mix.

The problem is that when we setup a layout called 'web' on the files that were previously not queried by the website, we keep getting an error, essentially saying that the queries cannot find the layout.

My guess is that we need to change some setting on the file so that its data (and layouts) can be accessed from the site. Is there a setting I am missing. It's been so long since I've hooked anything up between a website and FM5, I am having a hard time remembering.

Just for background. Here's a sample query:

http://DomainName/fmpro?-db=FileName.fp5&-lay=web&-format=-dso_xml&-max=10&-find

This works great with some of the files, but not with two others.

Coldfusion is being used.

All ideas, suggestions, comments, are vastly appreciated.

Many thanks,

First question would be

Under the File Menu > Sharing option, have you checked the file for sharing via the Web Companion?

  • Author

I did -- but I will check again (just to be sure - many chefs on this one).

  • Author

The Web companion plug-in is not on, but that's for the entire application. Yet somehow, the other tables work, and have been doing so for years. (It's running off of Server 5.5 unlimited, on Windows Server 2003).

The Web Companion option is greyed out under File>Sharing option, but is accessible in Edit>Prefs?Applications.

Should I turn it on there, and then under the File>Sharing too (within the file)?

Just wondering why it would work unchecked on some files already?

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.