I am attempting to figure out how to upload a dynamically generated PDF file to SugarCRM using Java.
At first I thought I would simply need to create a Document
object and fill in some field expecting a byte[]
64Bit encoded as a String
. However, from what I've read online, what I'm looking for is not a Document
but a Note
with an attachment. That seems like a poor naming convention in use; am I correct in assuming I need to be creating Notes
?
In this question I am simply asking for clarification on what a Document
is, and if it is suited for containing a PDF document or if the only method for uploading a file like a PDF is through Note
s and their attachments.
(I will ask a followup question elsewhere depending on this question's answer.)
Thank you.