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.

Should FM parse my html file?

Featured Replies

I should preface this by telling you that I am a genuine newbie! With that said...

I have FMPro 6 installed on my Mac (G4 - OS X). The Local Data Access Companion, Remote Data Access Companion and the Web Companion have all been enabled under the Application Preferences (I've also got these options checked under File > Sharing). The WebCompanion plug-in config for the application has IWP enabled. I have a small html form (test.html -- this is appended to the end of my post) set as the Home Page and my TCP/IP port is set to 591. Apparently I am wrong to assume that if I type 'http://localhost:591/' into the location bar of my browser that it will replace the FM tags with their expected values (i.e. [FM-CurrentDate: Long] would be replaced with the current date). Also, I have a text input form element whose value is supposed to be set to Employee but it is not showing up with an employee's name, just the FM tag (I don't really believe it would stick in an employee's name. After all, how would it know which record to display -- right?). Can someone straighten out my thinking on this?

One last thing. When I click on the 'New Record' button, I get an error message from the browser: Not Implemented. The server does not support the functionality required to fulfill this request.

What else am I doing wrong?

Thanks for your help!

Jason

----> test.html

<HTML>

<HEAD>

<TITLE>New Record Template</TITLE>

</HEAD>

<BODY>

<H2>Sample New Record Form</H2>

<FORM ACTION="http://192.168.4.129:591/" METHOD="post">

<INPUT TYPE="hidden" NAME="-DB" VALUE="WebWorkRequest.fp6">

<INPUT TYPE="hidden" NAME="-LAY" VALUE="Web Work Request Form">

<INPUT TYPE="hidden" NAME="-FORMAT" VALUE="http://192.168.4.129:591/workRequestSuccess.html">

<INPUT TYPE="text" name="Employee" value="[FMP-Field: Employee]" size="30"><br>

[FMP-CurrentDate: Long] [FMP-CurrentTime: Short]<br>

<INPUT TYPE="submit" NAME="-NEW" VALUE="New Record">

<INPUT TYPE="reset" VALUE="Clear Form">

</FORM>

</BODY>

</HTML>

"The WebCompanion plug-in config for the application has IWP enabled."

The form you have created is CWP.

I would suggest a disparity exists.

  • Author

I switched off the Enable Instant Web Publishing checkbox and attempted to access the form but submitting it still results in the same error message:

Not Implemented.

The server does not support the functionality required to fulfill this request.

Is there a problem with my action URL? What would generate this error?

Thanks!

Change this:

<FORM ACTION="http://192.168.4.129:591/" METHOD="post">

to this:

<FORM ACTION="http://192.168.4.129:591/FMPro" METHOD="post">

Good Luck.

Garry

  • Author

Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!!!!!!!!!! Yeah!

It works! -- Thanks!

If I have this page set as the home page in the application preferences, is there a way to get FileMaker to translate the FMP tags (like [FMP-CurrentDate: Long] [FMP-CurrentTime: Short]) when displaying?

Thanks again!

Maybe a "META Refresh", or an "onload" in the <body> tag. Use either of these in conjunction with a "-view".

Alternativey, some Javascript will display Date and Time in the browser.

All the best.

Garry

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.