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.

Script to get file path

Featured Replies

I need to store movie references in a container field, and then show the movies in the web using webcompanion.

Reading the forums I found that storing the movies path is the only way that ables me to show the movie in the web browser. But, I din't find a way to select a movie and store it's path in the database at the same time.

If I could access directly the path stored in the container with cdml would be great, but as I already said I have no hopes on that.

Can anyone help me? Thanks

If you use the folder import method that's available in FM version 6, you can specify a field to hold the file path, and a field to hold the file name. If you only want to bring in one file at a time, then you could put the file by itself inside a folder first. Other methods to get the file path involve using a plug-in like the highly recommended Troi File plug-in, or if on a Mac you can do it with Applescript. There are examples in the Applescript forum.

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.