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.

WebCompanion & CDML tags showing on Win2000

Featured Replies

  • Newbies

Hi there, I am running FileMakerPro 5 on Windows2000 with Web Companion enabled. Instant web publishing works fine. I have my port set to 100. When I try running non-Instant pages either my CDML tags show in the resulting IE output or else I get an error.

This URL: http://24.114.204.188:100/NewSightings/new.htm

gives me the CDML tags showing in my browser output.

This URL: http://24.114.204.188:100/NewSightings/FMPro?-db=Sightings&-lay=web&-format=new.htm-view

gives me Unexpected Error ... Error Number 4. I cannot find it in the FMP help. I've reviewed the Web Publishing Troubleshooting topic. Maybe it has something to do with Win2000 Service Pack 2 which I installed recently? Any other ideas? Anybody else ever see this? Strange that instant publishing will work on port 100... Thanks. shocked.gif" border="0

It is strange to use port 100 for WC.

Also your structure is strange, you should start from index.html and it is not in that directory -- http://24.114.204.188:100/NewSightings

Port 100 is strange, but not a factor. The page you get to needs to be a result of a FMP function - that's why the first link doesn't work.

Your second URL string is close, but the path within the web directory (NewSightings) doesn't go before the FMP call (FMPro?) but in the format path. The other problem is that you need an ampersand before the action (-view).

This one works: http://24.114.204.188:100/FMPro?-db=Sightings&-lay=web&-format=NewSightings/new.htm&- view

[ June 01, 2001: Message edited by: dspires ]

Not quite.

The path to unique project folders (within the Web folder within the FileMaker Pro folder) should be in the -FORMAT tag ***NOT*** in the FleMaker Pro path (http://**your IP**/FMPro?). To do so might work if all you have is a single project, but will get you into problems if you move beyond a single project folder.

Refer to the CDML reference for the format tag:

**Value is Path and name to the format file to use to display the response.**

dspires

Either path position will work. However, putting the path before the FMPro? action sets the base url for all subsequent browser links, and works better.

An example; I used the path in the format code once, and the actions all worked well, but whenever the web page had links on it, the link was recolved to the root of the server, not the specific directory. Very funny de-bugging that one.

I run 14 websites using fmpro on my server, if i put the directory in the format link then I would have to remember to do it for every link in the one website. If i put it before the fmpro part i only have to do it the once when i call up the home page then every link knows which folder to use for the format files. I think you will find that this is much more efficient. Please steve use my version I promise. You will also find that all your pictures would then have to be recoded as they will lose all the links to them as well. (I have just tried this on one of my sites).

Anyway I guess you have solved your problem by now. But hope this helps others

Simon

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.