Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

how to get Pdf attachment using code

Community Beginner ,
Apr 27, 2021 Apr 27, 2021

hi ,

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

TOPICS
JavaScript
2.4K
Translate
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

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

Translate
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 Expert ,
Apr 27, 2021 Apr 27, 2021

What type of attachment?

Translate
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 Expert ,
Apr 27, 2021 Apr 27, 2021

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

Translate
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

hi,

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

Translate
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 Expert ,
Apr 27, 2021 Apr 27, 2021

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

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

Translate
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

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

Translate
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
LEGEND ,
Apr 27, 2021 Apr 27, 2021
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...

Translate
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 Expert ,
Apr 27, 2021 Apr 27, 2021

Hi,

 

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

Translate
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

yes ,

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

Translate
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