Skip 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.

Cross platform file references

Featured Replies

  • Newbies

Hi,

Working on a solution hosted with FM Server where the goal is to place Excel spreadsheets in a Filemaker container field and be able to launch Excel and open placed spreadsheets from the Filemaker database.

This is do-able placing Excel file as a reference into a container field and just double-clicking on it, BUT...the problem I'm having is that this site runs Filemaker Pro on macs and PCs. If the Excel file is placed from a mac client, then the file reference is filemac:/VOLUME/path - so ONLY mac Clients can open that file refence. Conversely, the files placed into containers from Windows clients have a filewin://COMPUTER/VOLUME/path reference format and cannot be found by the macs.

Is there any solution to this (e.g. way to concatenate the filewin and filemac path references for the container field, or a plug-in)?

Thanks.

I'm not sure I follow all but....

Could you use a "Get" function to get the system platform of the current user

and then branch your script from there.

  • Author
  • Newbies

Thanks for the suggestion. I was going to try that route, but I think I found an easier(?) solution.

1) Create the container field where referenced files can be placed from either platform (but file path references are platform specific)

2) Create a calculation field that gets as text the first Container field, parses out the actual file path (starting with volume/share name), then concatenates that information into a valid file reference format:

file: filename

filemac:/volume/rest-of-path

filewin://computer-name/volume/rest-of-path

This was all done using various text functions (Position, Middle, Left, etc.) and using the Let function to create internal variables.

Make sure you set the calculation results to be a Container.

This will give you a second container field with a valid file reference for either platform. So the files can be placed from a mac or PC and can then be double-clicked on from a mac or PC and launched.

- Bars

  • 2 months later...

Bars - could you please explain further the text functions used? I've made the calculation field, but haven't figured out how the text functions create the internal variables.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.