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.

Scripted import path from a field

Featured Replies

Is it possible to script "import document" using a given path saved in a field, instead of having a dialog?

I have to import multiple files where the file path is known and the files change frequently.

Thanks

matt

Assuming you're talking about Import Records...you can pass a file path dynamically by using a variable in the Specify File dialog; e.g.

Set Variable[$filepath; myfilepath]

Import Records [$filepath]

The import order however is hardcoded, so this'll only work if the import order is the same for each file imported.

  • Author

Wow, that should work perfectly.

Thanks

Matt

  • Author

When using the set variable call, I get an error message saying that FM cannot find the file and the error message quotes an abbreviated path.

I checked the saved path and it is correct.

What could be the cause of this error?

An example of the path format is:

"filewin:c:documentsandsettingsmattnewprofile.xls"

the error message reference says cannot find the file:

"c:documentsandsettingsmattnewprofile.xls"

Thanks for your help.

matt

Edited by Guest

  • Author

Thanks to trial and error, I figured out the problem:

the file path format must use "/" instead of "".

how that happens or why is besides me.

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.