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.

Featured Replies

Yeah I know there is no OnNewRecord script trigger - but this is what I would like to happen.

I have a a table called Prospects where prospective clients input information via our website. New records are created in the Prospect table once the client pushes the submit button.

Is there a way to trigger a script each time a record is created in the Prospect table?

The script I have written simply emails my office manager to alert her of a new prospective so she can send them information.

Thanks for your help,

Jim

The OnRecordLoad trigger also fires on creation of a new record. But you already have a trigger - it's the prospective client clicking a button.

  • Author

The OnRecordLoad trigger also fires on creation of a new record.

The form the prospective client uses is through PHP so it is not "live" in filemaker. It scripted on the web side (which I don't completely understand) I tried the OnRecordLoad but I still have to find and make the new record active for the script trigger to fire.

But you already have a trigger - it's the prospective client clicking a button.

I asked my web guy about having a notification email sent when a client pushes the submit button and he told me me this would be very difficult and expensive - its why I'm trying to do it in filemaker. :)

Any other ideas?

Thanks!

Jim

Create a field in the Prospects table, TimeStamp_NotifiedOM. Create a scheduled server script (this is a served solution?) that finds all records where isempty(TimeStamp_NotifiedOM ) and sends a list of them in an email to the office manager (or a separate email for each record) and enters the TimeStamp_NotifiedOM. How often you want to run the schedule that trolls for new prospect records is up to you.

  • Author

bcooney - thank you so much! Works perfect! I haven't done much on the server side and you have given me a whole new realm of possibilities for my solution! Thank you again!

Jim

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.