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.

Can I send an e-mail script in Instant Web Pub?

Featured Replies

I think it says you can't in the directions, but is there a way around this? When a person clicks a name in one of the fields and then clicks save record, I want a small text e-mail to be sent to whomever they selected from the list. Is this possible? Thanks much

Matt

1. Instant Web Publishing is very limiting in what you can do (not much).

2. Scripts of any kind are fraught with problems. Unless you have a way to work around the fact that WC is single-threaded (5.0 and earlier), you will subject the database to the problem of scripts not running and the subsequent data hanging in limbo. Additionally you will subject your clients to being informed that their transactions were successful when in fact they were not successful. And no one seems to know if such data manipulation is possible in the WC of 5.5.

  • 2 weeks later...

With FMP 5.5 you can send mail through the browser using the Open URL script step.

Create a calculation field "MailSpec" with something like this:

"mailto:" & MailtoAddress & "?subject="Your subject "?body=" & Comments

Create a script 'Mail' with script step OpenURL ["MailSpec"]

Create a button 'Mail' and attach the script 'Mail' to it. Et Voil

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.