function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nani44Nani44 

From the external system we have to bring the pdf and display that pdf in salesforce

Hi All,

 

 

I have to diplay the pdf in salesforce.  But we have to bring the pdf from the external server and display that pdf in salesforce. Can we able to accomplish this task by using SOAP, REST that is through integations ? If we can do this by intergration, then How to do it? If not what are the other way that we need to follow.

 

 

Thanks,

Nani.

sandeep@Salesforcesandeep@Salesforce

It is possible by integrating external server with Salesforce platform. like if it is Amazon then we need to use Amazon APIs so please let me know which is your external server so I can suggest related APIs..

Nani44Nani44
Hi Sandeep,

By using Soap can we able to retrieve the PDF from any API. Protocol that we use is http with this protocol we can retrieve the text information. But I want to know whether we can retrieve the PDF or not .

Thanks,
Nano

Sent from my iPhone
oaklandoakland

Yes, you will have to use Force REST - and yes - you have to ask SalesForce to enable it for your org.

 

http://blogs.developerforce.com/developer-relations/2011/09/using-binary-data-with-rest.html

 

--

 

Although you can save PDFs in the Documents folder - and access those.

 

---

 

To upload PDFs to the Documents folder (without doing it through the native interface) you need REST too.

 

http://www.salesforce.com/us/developer/docs/api_rest/Content/dome_sobject_insert_update_blob.htm

 

---

 

SF does not have a "Apache Velocity" type of templating mechanism to create PDFs.