Kinetic Request CE Attachment Create From Url VERSION 1

This handler creates a an attachment and uploads it to a Kinetic Request CE form. The file is created using the Filename and Url input parameters and is then passed to the specified form using the Content Type of the file that is downloaded from the Url. If the file is successfully uploaded, the handler will return a JSON file string that will be most likely used in conjunction with the Kinetic Request CE Submission Create handler. The JSON Files response should be passed directly to the Sumbission Create call as a part of the values object for the attachment question on the form. An example of using this handlers result is below (where "Upload Attachment" is the label for the attachment field on the form).

{"Upload Attachment" : %=@results['kinetic_request_ce__attachment_create_from_url_v1']['Files']%}


Error HandlingDetermine what to return if an error is encountered.
Space SlugThe space to upload the newly created file to (defaults to info value if not provided).
Kapp SlugThe kapp to upload the newly created file to.
Form SlugThe form to upload the newly created file to.
FilenameThe name of the file to create.
UrlThe Url to download (typically will be a url to a file).

Sample Configuration

Error HandlingRaise Error
Space Slugcatalog
Kapp Slugacme
Form Slugattachment-form


NameSample Result
Handler Error MessageError message if an error was encountered and Error Handling is set to "Error Message".
FilesThe JSON response that is returned from Kinetic Request CE after uploading a file. This will the text that should be submitted as an attachment question value for a Submission Create call.


No Changelog Available.