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.

Web Companion External Functions

Featured Replies

I have been trying to use the Web Companion External Functions... but no success. I have defined a calculation field with one of these funtion. But nothing happens when I access a database via my Web browser. Any suggestions??

Are you Using "Custom Web Publishing" via CDML?

  • Author

No I am usig the Instant one...

I'm not sure if it works with "Instant Web Pub.), but I know with custom you can't preform the calc on the same form that provides one of the calculated fields.

You have to enter the data on one form, submit it, and the response page (or next form) will have the calculation on it.

  • Author

I want to use these functions to create a log of web activities by registering the name of the users on a separate file... Any idea how I could do it in FMP...

Create a seperate layout that logs the username, and other fields that you want, then make some text fields that auto enter a calculation based on the External-Web function of your choice:

e.g.

External ("Web-ClientIP", parameter)

Everytime a new record is created you get your data.

  • Author

I have tried that and it works great. Is there a way to use these functions to make a log that records every accees to a DB?

  • 2 months later...

Aero wrote: "I want to use these functions to create a log of web activities by registering the name of the users on a separate file... Any idea how I could do it in FMP..."

Turn on the activity log! All the stats will be there including TCP/IP number.

The log in FMP4 is in a goofy format making it nigh on impossible to use with server stat software. FileMaker changed it to something standard in FMP 5 so you can use off-the-shelf software to analyse the useage.

Fful wrote: "I know this is a dumb question, but what does "parameter" mean in the external function syntax?"

Your FMP5 reference has the info. The answer is "zero." External("Web-ClientIP", 0)

It must be there for future expansion.

I know this is a dumb question, but what does "parameter" mean in the external function syntax?

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.