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.

Issue when attaching files stored in external container fields

Featured Replies

Hi there,

I recently started using external storage for our container fields and instantly noticed an issue.

We use the container fields to create attachments for emails. When we use database storage for container fields the attached documents are all fine.

If on the other hand we use external storage for the container field then when we attach it to an email it always adds .dat to the end of the filename eg. "filename.pdf.dat" 

the only way the file is readable is if the .dat is removed (but most people have no idea about that so not really practicle)

I have tried both secure and open storage but still results in the same problem. When I change the storage back to internal it all works fine.

Has anyone else come across this and any suggestions on how to solve this issue?

Mark

How do you attach the file?  Hopefully not by trying to read the file from the hard disk?

RC files should be treated as live FM files (as they are) and you should NEVER try to manipulate them directly.

The best way to do this is to use Export Field Contents on the container and attach the file from that exported location.

  • Author

Thanks for your input Wim.

No wee not directly accessing the files from the hard drive.

its a email script that is using related container fields to attach files to the email. We're using FM server 14 on a wan so don't actually have direct access to the files.

any suggestions why the files may all be attaching as .dat files?

Mark.

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.