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.

Complete File Path for local dragged & Dropped file?

Featured Replies

I'd like to be able to get the complete file path to files that have been Dragged & Dropped (not inserted) into container fields. None of the "Get" or "GetAs" functions seem to do this. Is there a function or work around to getting the complete file paths? The basic concept is for the end user to drag & drop files into a container field, with calculations/scripts obtaining the complete path, allowing renaming via AppleScript and other manipulations. Any ideas? If the file is "Inserted" this is trivial, but much more time consuming for the end user since they have to navigate to it.

 



This is in FM12 Advanced.

Drag and Drop is like copying and pasting.

  • Author

So, there's no way to extract the file path?

if the file is named and on your hard drive, then you can maybe get the path using applescript (on the Mac) or the equivalent on Windows.

 

Please update your profile to reflect your current version of FileMaker, Platform, and OS.

  • Author

That's unfortunate. This s for a document tracking/indexing solution. Ideally, the user 

 

1. D &Ds a scanned document /  file into FM

2. calculation(s)/script(s) determine the file path

3. that information is used in a calculation (container) field from which the document / file can be opened 

4. the document / file is opened by the user and key ID information (i.e. name, date) is entered into appropriate fields     

5. an AppleScript is used to rename the file using the new ID information

6. the file path and new name are used in a calculation (container) field to either directly store, or store a reference that can then be opened from within FM database.

 

This can be done if the document / file(s) are named and located  strictly; in other words, there is a strict naming and location convention. But its a stretch to expect that of all end users, so I have to be able to automatically obtain the complete file path. An alternative is to  initially "Insert" the document / file, but that is more time consuming than simply D &D.

 

Ideas are appreciated. Perhaps there is a way to automatically (or by default) set container fields so they "store a reference" even when used for D & D?

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.