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

Open folder to choose a file to Import

Featured Replies

  • Newbies

I am still using FM Pro 12 advanced. Is there a way to open a folder so the user can choose a file to Import?

  • Author
  • Newbies

Users download an Excel file from the Internet. The file downloads to the default folder C:/Users/User_Name/Downloads

Then, that Excel file needs to be Imported into a Filemaker file. My customers are not computer savvy and they have trouble navigating to the Downloads folder - so I'm trying to make it to where when they click an import button - the script opens their Downloads folder for them. The file they downloaded from the internet is right at the top of the folder - so that's easy. It's just getting them there easily that is presenting the problem. If the filename was the same name always, I'd just enter the filename in the script as the $path and that would work. But the filename changes all the time, so that's not an option.

 

4 hours ago, CMA_2021 said:

Users download an Excel file from the Internet.

Perhaps the download could be automated so that the file name is known before starting the import.

If not, the other thread lists 2 ways to start the import dialog at the preferred folder.

4 hours ago, CMA_2021 said:

The file they downloaded from the internet is right at the top of the folder

Note that the BaseElements plugin can get a list of files in a folder. Or such list could be produced using OS scripting. So then again user interaction would not be required.

 

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.