Showing results for 
Search instead for 
Did you mean: 

selectFileForOpen - Multiple Choice


Does anyone know a way for a multible choice of files with the "selectFileForOpen" Methode.

I want to select 5 of 10 Files. Is that possible?




Re: selectFileForOpen - Multiple Choice

Siemens Phenom Siemens Phenom
Siemens Phenom
Hello PAC,
This is not possible at the moment. The function can only return a single file path.

Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Betreff: selectFileForOpen - Multiple Choice

Gears Phenom Gears Phenom
Gears Phenom

Hello PAC,

 I've prepared a workaround for you; it assumes that all files that you want to multi-select are in the same folder. My current method works only if you want to select TXT/DOC files, but you can easily adjust the filter. Just run the green method. It works in 2 steps:

 1. Select the target folder, by selecting any file in the target folder with the file-dialog.

2. This will fill a table with a list of all files in that directory (you could also add a filter there, if required), where you can then set a boolean-column to indicate which files you want to select. The table is basically the result of your multiple-choice-selection.

 Hope this helps Smiley Happy

Alex Dilg, Consultant at SimPlan AG (
This post was good and/or helpful to you? Please provide some Kudos, thank you!

Betreff: selectFileForOpen - Multiple Choice


Thank you Alex, the idear is good and i can create a solution for me.

But your Model makes not what you want. you are using a wrong path for import...