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.

Multi-category email templates?

Featured Replies

I'm running a relation db set on 5.5.

Here's my challenge: the db currently has a main user record and a separate db for email templates. In the user db, there's a tool for selecting an email subject line, which then populates with the email template and allows a SendMail function.

I would like to expand these templates and separate them into categores with this functionality in mind: I'd first select the category, which would then prompt for templates within that category, and I'd select from there before sending.

Any tips?

Your existing file structure will work fine. You just need to give each email template a "category" field. In you main file, create a corresponding global "category" field (gCategory, make sure it is a global text field). Define a relationship between gCategory (main) and Category (templates). Create a Template (by template name) value list based upon this relationship.

Create another global text field gTemplate. Create a relationship between gTemplate in main and the template name field in Templates.

Place the gCatgory field on your layout in the main file. Assign a value list of categories to gCategory. Place the gTemplate field on this same layout and give it the Templates value list.

The net effect is you will select a category by clicking on gCategory. The value list displayed for gTemplate will then display only the template names for this category. As an alternative, you could use the gCategory based relationship to display the matching records in a Portal.

The relationship based upon gTemplates is useful because once you have gTemplates populated with the desired template name, you can move to it using the Goto Related Record script step.

-bd

  • Author

Thanks a lot! I'll run with that and see what happens.

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.