Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6530 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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!

Posted

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:

This topic is 6530 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.