You need to sign in to do that
Don't have an account?
Sanchita
Is SFDC has the capability to convert BASE64(Binary data) to PDF(Or through web services)
we are sending SAP Quote details in the form of Binary data to PI, PI will further send it to SFDC through web methods.SFDC people want to send this data as pdf attachment to the Customer.
I just wanted to know if SFDC has the capability to convert BASE64(Binary data) to PDF.
Or if you can check if it can be done by Web methods?
I just wanted to know if SFDC has the capability to convert BASE64(Binary data) to PDF.
Or if you can check if it can be done by Web methods?
There is not a direct way to convert from Base64 to PDF but you can convert from Base 64 to Visualforce - which can be converted to PDF via renderas="pdf" .
See the links below for some sample code and more information,
https://developer.salesforce.com/forums/ForumsMain?id=906F00000009BDHIA2
https://developer.salesforce.com/forums/ForumsMain?id=906F00000009DKQIA2
http://www.salesforcegeneral.com/salesforce-articles/base-64-encoding-in-apex.html
http://salesforce.stackexchange.com/questions/7257/display-pdf-with-visualforce
https://developer.salesforce.com/forums/ForumsMain?id=906F000000097nCIAQ
http://help.salesforce.com/apex/HTViewSolution?id=000005941&language=en_US
Regards,
Ashish