apps
latest
false
UiPath logo, featuring letters U and I in white
LEGACY

Apps User Guide

Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Aug 5, 2024

Download a File Using an Image Control

Using Storage Bucket

Prerequisites

Make sure that you know the name of the file you want to download and the storage bucket it is in. The filename can come from a process, or you can find it in the storage bucket in Orchestrator.

You can use the following image formats for this procedure:

  • JPEG
  • PNG
  • BMP
  • GIF
  • SVG

Procedure

  1. Go to the app where you want to use the this feature.

  2. Create a new page called Download page and add a new Get file from Storage bucket rule to the load event of the page.

  3. Configure the Get file from Storage bucket rule.

    1. Pick the storage bucket containing the file you want to download.
      docs image
    2. Go to the storage bucket in Orchestrator and copy the name of the file you need to download. Paste the name in the File Name field.

    3. Add a new variable in the Assign file to app variable field.
      docs image
  4. Add a new Image control in the Download page.

  5. Add the variable created during step 3.3 in the Url property of the image.


Procedure Results

The image is rendered in the image control.

Using Entities

Before proceeding, you must have an entity in Data Service and imported in your application.

For more information how to achieve this, see Referencing an Entity in your App.

You can bind the entity file field to the Image binding property of the Image control and the image is rendered in runtime.

You can use the following image formats for this:

  • JPEG
  • PNG
  • BMP
  • GIF
  • SVG
  • Using Storage Bucket
  • Prerequisites
  • Procedure
  • Procedure Results
  • Using Entities

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.