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.

execute import records script with button

Featured Replies

Hi there -

I have a script which imports image thumbnails into a field using Import Records command. I have created a button to execute this script, but I would like to have this button bring up a pop up window which will allow the user to browse to the folder which contains the images to be imported.

Basically, I need to specify the data source as a folder, and then allow the user to add a folder to the "folder path" list.

Any suggestions appreciated!

Hi otari,

If I understand you correctly, you would like the user to see the standard file dialog and choose the source folder for the scripted import when the script runs.

That being the case, if you go into the script editor for the script in question and select the Import Records step, you'll see at the lower right an option to specify data source and you will presumably have selected "Folder..." from the adjacent list.

If you select "Folder..." again, a dialog called "Folder of Files Import Options" will appear. In the upper section of the dialog is a button to specify the folder location. Clicking on this button brings up a further dialog into which a Folder Path List can be entered.

If you delete any file paths from the Folder Path List and save the change, then when the script runs the user will be presented with a file dialog in which to browse and choose the folder from which to import. :wink2:

  • Author

great! thanks for the help, cobalt!

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.