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.

Importing a folder of files

Featured Replies

I would like to import a folder of files into a database (all files of the same format and using the same field mapping). I was obviously happy to see the new 'Folder" import for text files, but then I discovered that the import puts the File name, location and entire file into 3 fields respectively...not really that useful. I could live with this IF I could put the entire contents into a field since I could then parse the file contents into the proper fields, but my files are larger then 100K characters (thus over the text field size limit). Does anyone have a solution that would allow a user (Mac and PC) to select a fold of files for import and then import each file (as one would do with individual files)? I have thought of storing the file locations (easy with the new folder import options) and then having a script that imports the files based on the location information stores...but how?

I don't have a solely FMP-based solution to suggest, but there are several third-party plug-ins which you might like to take a look at.

The one which is foremost in my mind is DialogMagic from New Millennium Communications:

http://www.newmillennium.com

This plug-in is doubtless not the only one available which might assist you, but it is the one with which I am most familiar. It will allow you to script an external function call to return a list of all the contents of a folder (either from a hard-coded path to the folder or one that is user-specified on the fly), and then loop through all the files in the folder performing a scripted import for each in turn.

I suspect that similar procedures are possible with the Troi file plug-in and perhaps others, but I've not tried them.

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.