on 2014 Jan 16 6:41 PM
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
Request clarification before answering.
Hello Uldis,
If Attachment is the name of the DO Attachment and you've already created an instance, would this code below do the job?
import ABSL;
import BASIS.Global;
var DataFromWebService : BinaryObject;
DataFromWebService.content = <...> // from WebService
var BinaryObject = this.Attachement.Document.GetFirst().FileContent.BinaryObject;
BinaryObject.content = DataFromWebService.content;
HTH,
Horst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.