I download aPDF form a webservice.
The documentfile-string looks like this:
How can I save this to a fileupload-Field??I have tried with:rbv_api.setTextFieldValuerbv_api.setBinaryFieldValueand I have tried with different MIME-codetypes.But I can't open the "file" at all.
I think before you use the setBinaryFieldValue() api you need to convert your PDF response to a base-64 string first.
I believe you should be able to find script using google that does what you need.
Hope that helps.