Downloading a File From a URL
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Downloading a File From a URL

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.4.0
Root FolderExample Lab - Download File From URL
Modules None
DependenciesNone

This Example Lab project demonstrates how to download a file in Decisions from a URL.


Explanation

This project works by using a REST service integration. To create a REST Integration, the user should go to Create Datatypes/Integration, go to External Services, and select Add REST Service Integration. When the form appears, deselect Output Raw Value and set Service Return Data Type to Binary. Once the REST Integration has been generated, the user can find this as a new step under Integration > REST Services in the Flow Designer. This step will return file data. This file data will then be passed into a Form displayed to the user with a download file link. Upon clicking that link the file will be downloaded and the user may click the close button on the Form to end the Flow.

Reference Articles




Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.4.0 or later using our Importing/Exporting article.





Was this article helpful?