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.

-mail tags in CDML

Featured Replies

We have a number of websites running using a FMPro back end. On some of these websites they have a shopping basket type function. When a new order is placed, it prints the invoice and sends an email notification.

The problem we have is that the email is not always getting sent- sometimes it works and others it doesn't -

The email is sent using the cdml tags in a form -i.e. <input name=-mailto [email protected]>

the print function is actually done using a -script that is also triggered in the same form as the mailto i.e.<input name=-script value=print>

The printout works everytime, but the email doesn't - does anyone have any ideas?

I understand that it can only send the mail one at a time (i.e. cannot handle simultanious hits) - but the liklihood is very slim. Could it be because it is processing the print -script? and it cannot handle doing two things at once?

Look at Web Companion's activity and error log to see what's happening.

  • 1 year later...

"We have a number of websites running using a FMPro back end."

"...the print function is actually done using a -script."

Unless you are as talented as Keith claims to be with ScriptMaker, you should find a different way to do this.

Have you considered emailing to a machine which can do the printing without using a script?

How many of the "number of websites" run scripts? What occurs if FileMaker is processing a ScriptMaker event from another site when an event request is made at this site?

Or web can just add the record, which should be printed. Another machine will look for new record, print it and mark as printed. That can be script in loop or just triggered few times a day.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.