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.

CloudMail Use Field as Body

Featured Replies

What I would like to do is use a field as the body for my message. I have it working using the calculation below but I would like to be able to call fields within those fields. As an example in my Staff::Email Message HTML field I'd like to say Staff::First Name to insert their first name. Is there any way this can be done? It always seems to just insert Staff::First Name into the body of my message even if I surround it with quotes and use proper scripting language. 

 

Thanks!

Jon

 

CMQueueMessage(
Staff::Email Message HTML;
Staff::Email Message Text;
Staff::Email Subject;
(Staff::Email From);
Staff::Email Subject) = "ERROR"

  • 3 weeks later...

Hi jshels,

The way to handle this would be to use the FileMaker script step Substitute. You can read about its usage here . You would basically have your body in a field that has placeholders for the information that you want to replace. Then call the Substitute function to replace the placeholders. You can either set the return to another field or to a variable and then pass that into the CMQueMessage function.

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.