Apps (アプリ)
最新
バナーの背景画像
Apps ユーザー ガイド
最終更新日 2024年5月14日

URL を使用したファイルのダウンロード

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.
  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. On the MainPage, add a new Label control and configure it:
    1. Rename the Label control to "Download file", including quotation marks.
    2. Click the Style tab of the Label control. Change the style of the Label control. This will help the user identify the link as a downloadable. We recommend using italics and blue.
  5. Switch to the Events section of the Download file control. Click the Create rule button.
  6. Add a new Download file from Storage bucket rule. Configure it:
    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. In the When completed section, add a Set Values rule.
  8. In the Items to set field, type [variable_name].Name.
    1. Set the downloaded file name inside the Value field. This will update the file name once the file is downloaded.
  9. In the When completed section, add a new Open Url rule.
    1. In the Url field of the rule, type [variable_name].Url.

実行時に [ダウンロード ファイル] をクリックすると、新しいタブにファイルがダウンロードされます。

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.