How to load/attach/insert a PDF file to Salesforce libraries???

One Star

How to load/attach/insert a PDF file to Salesforce libraries???

Hi All,
I have been assigned to one task. where i have to load the PDFs into Salesforce libraries.
but in Salesforce and ETL tool there is no object called Libraries.So, how do i load the Pdfs to Salesforce Libraries.
if anybody has any idea please let me know ASAP.

Thanking in advance,
Amaresh
Moderator

Re: How to load/attach/insert a PDF file to Salesforce libraries???

Hi,
In Talend open studio, we provide the component-tSaleforceInput and tSaleforceOutput.
Function: tSalesforceInput connects to an object of a Salesforce database via the relevant Web service and allows to extract data from a Salesforce DB based on a query.
Function: tSalesforceoutput writes in an object of a Salesforce database via the relevant Web service and allows to write data into a Salesforce DB.
Hope that is what you need.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
One Star

Re: How to load/attach/insert a PDF file to Salesforce libraries???

Hello
For loading pdf files ,i know there is a pdf SDK which supports to detailed tutorial,and here is the code to
load pdf file.you can have a try.Or you can just visit the pdf SDK:
Hope to help you.
public static string FolderName = "c:/";
private void button1_Click(object sender, EventArgs e)
{
string fileName = FolderName + "Sample.pdf";
REDocument doc = REFile.OpenDocumentFile(fileName, new PDFDecoder());//use PDFDecoder open a pdf file
BasePage aPage = doc.GetPage(0);//get page from REDocument
REImage img = (REImage)aPage.ToImage();//translate page to image
}

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Enabling Data Governance

Learn how to enable Data Governance

Watch Now

The Definitive Guide to Government Data Quality

Take a peek at the definitive guide to Government Data Quality

Read