Creates a File object from the supplied content.
You could use a Send Web Request activity to download a file as an ArrayBuffer and then use a Create File activity to convert it into a File. Then you could use the Add Attachment activity to attach the file to a feature.
Content |
Required Type: ArrayBuffer | Blob | String The content to be added to the file. |
Name |
Required Type: String The name of the file. |
Content Type |
Optional Type: "application/json" | "application/octet-stream" | "application/pdf" | "application/xml" | "application/zip" | "image/jpeg" | "image/png" | "text/csv" | "text/html" | "text/plain" | String The MIME type of the content. |
result |
Type: File The file containing the input content. |
For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.
This activity works when the device has intermittent connectivity to the network.
Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.