community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

Is there a way to convert binary zip data into a usable format inside alteryx?

Highlighted
Atom

I have used the download tool to request data from a vendor API. I get valid response but unfortunately they return a string of binary zip file instead of xml or json.

 

Here is the relevant response:

 

<HvrReport>
<FileName>2019-01-15_EMM Index Factor PClose.zip</FileName>
<ContentType>zip</ContentType>
<BinaryData>UEsDBBQACAgIADWpMU4AAAAAAAAAAAAAAAAdAAAAMjAxOS0wMS0xNV9SZWplY3RlZEFzc2V0cy5jc... etc...

</BinaryData>
</HvrReport>

 

I am assuming I need to take the value in the binary data and convert it back into a zip file but I am unsure of how to go about it inside of alteryx.

 

 

The vendors documentation is written from the perspective of coding it in C# and using their wsdl template and only mentions the binary conversion as follows:

 

MemoryStream myMemOut = new

MemoryStream(Attachment.BinaryData.Value);

myMemOut.WriteTo(myZipOut); 

 

 

Any ideas on where to start would be greatly appreciated. Or just letting me know it is impossible would also be appreciated as well.

Alteryx
Alteryx

Have you tried configuring the download tool to output the zip to a temporary file rather than output to a string?

Labels