You need to sign in to do that
Don't have an account?
zeezack
Attachment form in php
How does one attach files to saleforce using php... it does not appear to store files in the conventional upload to a directory sense....
is it storing them in the body field of the attachment table?
Yes, you load the base64 encoded content of the file into the body field the attachment. If you poke around on the boards you'll find more details.
Park
I have tried to load an attachment file to the case object via an apex trigger. I converted it to base64, and it will process the load, but the resulting attachment cannot be downloaded/viewed...... it just comes up as a file with a really long text string (the base64 text of course) and not the actual file.... in this case an excel file......
Is there anything I am missing on this? Not sure where to go from here....
Just change the instance_url and access_token