Download File From Url - Convert To FileData
Comments
-
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]Youll need to create a REST Service integration to return File Data from a URL. To create a REST Integration, youll want to go to Create Datatypes/Integration, go to External Services and select Add REST Service Integration. When the form appears, youll want to deselect Output Raw Value and set Service Return Data Type to Binary. For more details, see attached screenshot.[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]
[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]Once your REST Integration has been generated, you will find this as a new step under Integration > REST Services in your Flow Designer. This step will return file data. For additional details, see related documentation links below:[/font][/color]
[ul][li]Using POST Method With REST Service Integration: https://documentation.decisions.com/using-post-method-rest-service-integration/
[/li][li]Integrating a REST Web Service That Returns JSON Data: https://documentation.decisions.com/integrating-rest-web-service-returns-json-data/[/li][/ul][img]att1[/img]
-
I followed this and everything works except that the content of the FileData object is null. Any thoughts on what the problem is?
-
Hi Christopher, the Contents value appearing as null in the debugger is a known graphical issue that our developers are working on. The Length value is accurate, however. If you were to pass that FileData object into a form to display it (if applicable), the file would still appear as expected.
[i]edited by james.hartzell@decisions.com on 5/1/2020[/i]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions