studio-web
latest
false
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

Studio Web-Benutzerhandbuch

Letzte Aktualisierung 19. Feb. 2026

Uploader für mehrere Dateien

You can select and upload multiple files using the Multi File Uploader control, which sets the value as an IResource list.

Hinweis:

Public Apps do not support the Multi File Uploader control.

Arbeiten mit IResource

Wenn Sie eine Datei als ILocalResource erhalten, wird sie automatisch in eine IResource konvertiert, indem Folgendes verwendet wird:

JobAttachment.fromResource(file) // file is an ILocalResource
JobAttachment.fromResource(file) // file is an ILocalResource
Wichtig:

The following functions have been deprecated and you should no longer use them:

  • .toLocalResource
  • .toAppsFile

Allgemein

  • Max file size - The maximum file size of each file you can upload. The recommended maximum file size is 10 MB.

    Hinweis:

    You can upload a maximum of 10 files.

  • Allowed file types - The file types you can upload. Use a comma , to separate file extensions. For example, if you write .jpg, .png, .svg, you can only upload these file types. The dot . symbol is not mandatory when listing the file types.

  • Hilfstext – Der Hilfetext, der bei der Laufzeit angezeigt werden soll.

  • Tooltip – Der Text, der angezeigt werden soll, wenn ein App-Benutzer mit dem Mauszeiger auf das Steuerelement zeigt. Damit können Sie zusätzliche Informationen über das Steuerelement bereitstellen.

  • Beschriftung – Der Anzeigetext des Steuerelements.

  • Required - If set to true, app users must provide data in the control. To mark the control as mandatory at runtime, an asterisk (*) is added after the label text.

  • Benutzerdefinierte Fehlermeldung – Der Text, der angezeigt wird, wenn die Eigenschaft Erforderlich auf „true“ festgelegt ist und das Steuerelement leer bleibt.

  • Hidden - If set to true, hides the control at runtime.

Events

  • Value Changed - Configure what happens when a file is added or removed from the selection.

Stil

  • Ausrichtung von Steuerelementen – Erbt standardmäßig die übergeordnete Ausrichtung. Eine andere Ausrichtung als die übergeordnete kann festgelegt werden. Um die Standardausrichtung wiederherzustellen, heben Sie die Markierung der überschriebenen Optionen auf.
Hinweis:

The alignment is dependent on the layout selected for the parent, such as Vertical or Horizontal.

  • Label Placement - By default, the label is displayed on top of the control, aligned to the left. You can place it to the left of the control on the same line. The Label Width property configures how wide the label should be, and the Space between property sets the distance between the label and the control.
  • Font - The font attributes for both the label and the input text, such as font family, size, color, or style, such as bold, italic, and underline. By default, the control inherits the font family of the immediate parent container, indicated by the keyword Inherited.
  • Margin - The margin of the control. By default, a margin of 4px is set. Top/Bottom and Left/Right margin properties are combined. These properties can be detached using the Link button on the right side of the Margin section.
  • Size - The width and height of the control. By default, the size is set to auto. To set minimum or maximum values, select the three-dot icon (...).

VB-Eigenschaften

VB-EigenschaftDatentypBeschreibung
TooltipStringInformationstext, der angezeigt wird, wenn der Benutzer mit dem Mauszeiger auf das Dateiuploadprogramm zeigt.
LabelStringDie Bezeichnung des Dateiuploadprogramms, in der Regel Text, der vor dem Steuerelement angezeigt wird.
ValueIRessourceName der aktuell hochgeladenen Datei.
RequiredBoolescherGibt an, ob der Dateiupload obligatorisch ist.
RequiredErrorMessageStringMeldung, die angezeigt wird, wenn der Dateiupload erforderlich ist, aber nicht angegeben wurde.
HiddenBoolescherDetermines the visibility of the File Uploader control. If set to true, hides the control at runtime.
DisabledBoolescherBestimmt, ob das Dateiuploadprogramm- Steuerelement interaktionsfähig ist. Bei „true“ wird die Interaktion mit dem Dateiuploadprogramm zur Laufzeit deaktiviert.
IsValidBoolescherChecks validity of the File Uploader value. If true, indicates it is valid.

Verwenden des Dateiuploadprogramms

This example shows how you can use the Multi File Uploader with a storage bucket:

  1. Öffnen Sie eine bereits vorhandene App oder erstellen Sie eine neue.
  • Add a Multi File Uploader control.
  • Select Events. In Value Changed, select Define automation.
  1. Add a For Each activity that iterates over the file selection.
    • You can use the expression Controls.MainPage.MultiFileUploader.Value.
    • Add an Upload Storage File activity in For Each.
      • Geben Sie den Orchestrator-Ordnerpfad und den Namen des Speicher-Buckets an.
      • Wählen Sie im Feld Datei den Ausdruck currentIResource aus.
      • Wählen Sie im Feld Uploadziel den Ausdruck currentIResource.FullName aus.
  2. Testen oder führen Sie Ihre App aus.

When you run the app and add multiple files in the Multi File Uploader, the app uploads the storage file to the storage bucket.

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
Uipath Logo
Vertrauen und Sicherheit
© 2005–2026 UiPath. Alle Rechte vorbehalten