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.

FMPro, web companion & cgis

Featured Replies

  • Newbies

I am using FMPro 4.1, and would like to be able to access the database from a cgi (preferably in MacPerl, but I'm flexible depending on what is easiest). I would like the FMPro -format page to be returned to my cgi for further processing.

Does anyone know how to send a request like this to FMPro from a cgi, including how to pass the parameters?

Thank you,

Phil K

Use Web Companion. It's a cgi interface for FileMaker Pro databases.

I guess you already know that and wonder why I repeat it here... the answer is that I reckon that you'd be reinventing the wheel doing cgi stuff with Perl.

I dunno whether Lasso can help. Anybody else know?

  • Author
  • Newbies

Thanks for your reply. I'm already using web companion. But the problem is that I would like to be able to extract parameter information from the URL (and the web companion external functions [at least with FMPro 4.1] don't provide access to environmental variables like QUERY_STRING) and I would ideally also like to be able to do a bit of additional post-processing on the format file. That's why I'm stuck with an additional cgi.

If anyone knows a different way to extract the QUERY_STRING (all the info after the question mark) from the URL and get that information into FMPro, I could also work with that.

I really appreciate whatever help anyone can give.

Phil

Perhaps you could use the [FMP-LinkID] tag (or something similar, I am at home and don't have the cdml reference with me) and pop that value into a hiddeen field on the form? I've not tried it...

Remember that the URL generated is actually quite simple although it looks hard. You probably already know what the -db and -lay tags will be; same for the -format tag in most cases. Depending on the form action, you've only got search criteria and sort criteria to contend with. Search criteria could be easy to put into a form with the [FMP-CurrentSearch] tag, sort criteria I'm not sure about unless it's canned and then you'll know what it is and can use a hidden field to pass it to a db.

oh me oh my, Vaughan!!! you are at home, WITHOUT a cdml reference. . .

In america, we do not have the privelage of going home and not having to work. . . must be nice.

yafreax

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.