Property AllowMultipleFiles
- Namespace
- Skyline.Data
Miner .Automation
- Assembly
- SLManagedAutomation.dll
AllowMultipleFiles
Gets or sets a value indicating whether multiple files can be uploaded.
Property Value
- bool
true
if multiple files can be uploaded; otherwise,false
.
Examples
UIBlockDefinition uibDef = new UIBlockDefinition();
uibDef.Type = UIBlockType.FileSelector;
uibDef.DestVar = destvar;
uibDef.InitialValue = initialValue;
uibDef.Row = (int)row;
uibDef.RowSpan = (int)rowSpan;
uibDef.Column = (int)column;
uibDef.ColumnSpan = (int)columnSpan;
uibDef.HorizontalAlignment = GetHorizontalAlignment(horizontalAlignment);
uibDef.VerticalAlignment = GetVerticalAlignment(verticalAlignment);
uibDef.AllowMultipleFiles = true;
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
.
With this configuration, users will be able to add files one by one, but they will not be able to add the same file twice. They will also be able to add a file by dragging it to the file selector.
Available from DataMiner 10.1.8/10.2.0 onwards.