Apps
Más reciente
False
Imagen de fondo del banner
Guía del usuario de Apps
Última actualización 14 de may. de 2024

Downloading a file using an Image control

You should know the name of the file, and the storage bucket containing it for the download. The filename may either be obtained from a process, or located in the storage bucket in Orchestrator.

Puedes utilizar los siguientes formatos de imagen para este procedimiento:

  • JPEG

  • PNG

  • BMP

  • Gif

  • SVG

  1. Before designing your app, go to Orchestrator. Access the storage bucket containing the file you want to download. Copy the name of the file.
  2. Go to the app where you want to use this feature.
  3. Add a new App variable of the type AppsFile. Name it.
  4. From the MainPage, click the Events tab. Click the Create rule button.
  5. Add a new Download file from Storage bucket rule to the page's Loaded event.
  6. Configure the Download file from Storage bucket rule:
    1. Click on the Storage bucket field. In the newly opened Resources menu, add the storage bucket containing the file you want to download into the field.
      docs image
    2. In the File name field, paste the name of the file from step 1. Surround the name and its extension with quotation marks. For example, "[file_name].png".
    3. Click on the Assign file to app variable field. Select the app variable you added in step 3. Add the variable to the field.
      docs image
  7. Return to the MainPage. Click on Add control, and select Display. Add an Image control to your app.
  8. In the General properties of the Image control, click on the Source field. Add the variable name specified in step 3 to the Source field.
    docs image

La imagen se renderiza en el control de la imagen.

Was this page helpful?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Logotipo blanco de UiPath
Confianza y seguridad
© 2005-2024 UiPath. All rights reserved.