cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to store base64 string as binary?

uskalviskis
Participant
0 Likes
4,658

Hi all cloud developers,

currently I'm facing issue to which I can't find solution. I get through web service call binary content as base64 string. I want to store it as attachment in cloud. But currently seems like there is no possibility to do that.

First I thought that Binary.ParseFromString() function could solve this issue but now I understood that it's used differently.

Does anybody of you faced this issue and found solution?

Thanks,
Uldis

View Entire Topic
Former Member
0 Likes

Sorry for joining the party late! What seems to be the confusion here?

XSD Datatype of BinaryObject is Base 64 Binary which means that you don't have to do anything if your webservice is sending the base64 encoded data inside FileContent of AttachmentFolder. When such calls reach ByD, it will be saved as a proper FileAttachment!

You don't have to create a Binary Object from a base64 value with your absl coding! Pls see the below screenshot.