how to get Pdf attachment using code

Community Beginner ,
Apr 27, 2021 Apr 27, 2021

Copy link to clipboard

Copied

hi ,

I am not able to get attachment from pdf file using coding

TOPICS
JavaScript

Views

288

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 27, 2021 Apr 27, 2021

Copy link to clipboard

Copied

Even i had faced this issue, can not fine any method to extract attachments from PDF files.

We have not found the solution for this and have dummped the complete idea.

Was Using JS API

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Most Valuable Participant ,
Apr 27, 2021 Apr 27, 2021

Copy link to clipboard

Copied

What type of attachment?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Most Valuable Participant ,
Apr 27, 2021 Apr 27, 2021

Copy link to clipboard

Copied

(By that I mean how it was attached, not what type of file it is...)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 27, 2021 Apr 27, 2021

Copy link to clipboard

Copied

hi,

pdf type attachment and xml  type attachment in main pdf file .In this file only pdf type attcahment avaliable.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Most Valuable Participant ,
Apr 27, 2021 Apr 27, 2021

Copy link to clipboard

Copied

You can save those files by using the exportDataObject method. For example:

this.exportDataObject(this.dataObjects[0].name);

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 27, 2021 Apr 27, 2021

Copy link to clipboard

Copied

Yes ,I  know but problem is i am using node js

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 27, 2021 Apr 27, 2021

Copy link to clipboard

Copied

LATEST

You should've indicated that you were trying to attach PDF attachments using js node code when you first posted this inquiry.

 

Maybe you'll need to review the nodemailer documentation and verify that the filenames of these PDFs include the complete directory path to those files.

 

See this discussion:

 

https://stackoverflow.com/questions/32730631/node-js-and-nodemailer-can-we-attached-pdf-documents-to...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 27, 2021 Apr 27, 2021

Copy link to clipboard

Copied

Hi,

 

Are you able to share a sample document with the Attachment included, so that we can see the file you are working on?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 27, 2021 Apr 27, 2021

Copy link to clipboard

Copied

yes ,

I can share the file .In this  pdf file three more attachment are avaliable.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines