In an interactive automation script new FileSelector(){ AllowMultipleFiles = true } is set.
But in script execution only single file selection is available.
Hi Harald, the code that you've shared seems correct at first sight. If AllowMultipleFiles is true, it should be possible to upload more than one file. The uploaded files are then available in the UploadedFilePaths property.
The AllowMultipleFiles property is available since DataMiner Feature Release 10.1.8 and Main Release 10.2.0. Which DataMiner version are you using?
Hi Harald, this feature is indeed only available when the script is executed from a low-code app.
Hi Tom,
we are using DataMiner (10.4.6.0-14348), but see:
https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Automation.UIBlockDefinition.AllowMultipleFiles.html?q=AllowMultiple
Here under Remarks:
“In an interactive Automation script that is used in the DataMiner web apps, you can use this property to configure a file selector component that allows the user to upload multiple files. To do so, set the property AllowMultipleFiles to true.”
DataMiner web apps are Low-Code-Apps?
I’m executing in Cube.