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.

determine if a container is a reference or a stored file?

Featured Replies

Is there a way for a calculation to determine if a particular field contains a reference to file or the actual file it self?

I'm putting together a script that will do one action if it is a reference (i.e., open the file) or another if it was a stored image in the container (i.e., export that image for opening)?

Edited by Guest
typo

Thats pretty easy:

Sign(PatternCount ( GetAsText ( aContainer ) ; "/" ))

Which returns 1 if it's a referenced and 0 if it ain't!

It might be a back slash to search for for "PatternCount" instead on a windows machine.

Which then perhaps better can be obtained this way:

Sign(Length(Filter("/";GetAsText ( aContainer ))))

...if the solution is x-platform'ish deployed!

--sd

  • Author

thank you!

I believe all paths are OS independent, that is they are FM paths and contain only forward slashes.

Even the Sign( in my second suggestion is ridiculous - since I reversed the order input and filtering ... so one slash being filtered, is always one or zero. I wondered why didn't find it instead Barbara??

--sd

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.