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.

-MailFormat, URL probs

Featured Replies

I have an email form that sends a message to someone with a URL to view the particular record.

This worked nicely when I was using a FileMaker script to send the mail. Now I am using the -MailTo, -MailSub and -MailFormat tags to send the mail.

It all seems to work, but, in my "message.txt" file (-MailFormat) I have a replacement tag, which is the URL to the record. When displayed in the message I get "#38;" following all "&" in the url. rendering it useless. Somehow the text file is whacking in the "#38;" and I don't know how to get rid of it. Any ideas??

Carefully check the text in the format file. Note that it should only be ASCII text -- no formatting, nothing fancy. deelet the paragraph and retype it if needed.

Is the mail working apart form that?

  • Author

The only thing I have in the text file at this stage is the replacement tag. It looks like this:

[FMP-Field:MF_Message]

NB: MF_Message is a text calc that calculates the URL it looks like this:

"http://132.1.80.208/forms/leave_forms/FMPro?-db=Annual_Leave.fp5&-format=Approval.htm&-lay=WEB" & "&-op=eq&Record_ID=" & Record_ID &"&-find"

The mail works fine other wise, I have tried adding some text to the format file, and am happy with how it works appart from #38;.

It is some thing to do with the text file though, because if I specify the same field as -MailSubject, it works fine.

I originally tried MailFmtField, and found out the hard way that it is not supported by web companion 5.0v4 and up.

I may use the subject line, but would prefer have it in the body.

Cheers Hal

  • Author

Vaughn,

FYI

Someone suggested trying this

[FMP-Field:myfield,raw]

It worked like a charm.

That'd do it, sure. Otherwise Web Companion performs html encoding.

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.