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

PDF Embed API - merge annotations server side

New Here ,
May 24, 2024 May 24, 2024

Copy link to clipboard

Copied

Hi.

 

My user interface stores the JSON annotation data separate from the PDF files.

 

I know that I can load the annotation JSON data on the PDF file using the Embed API in the front-end. However, is there any way to merge the JSON data into the PDF file on server side?

TOPICS
PDF Embed API

Views

124

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 Employee ,
May 24, 2024 May 24, 2024

Copy link to clipboard

Copied

There's no API yet for adding annotations to a PDF. You could save the bits from Embed to a server though w/ client-side JavaScript. 

Votes

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 ,
May 30, 2024 May 30, 2024

Copy link to clipboard

Copied

Thanks Raymond!

 

We are able to save the JSON annotation from the client-side successfully.

 

However, we want to allow the users to bulk download their annotated PDF files. To do that, we have to merge the PDF files with JSON annotation on server side before allowing the download.

I understand that the annotation JSON is W3C compliant. Is there any way of adding these annotations to a PDF from server side?

Votes

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 Employee ,
May 31, 2024 May 31, 2024

Copy link to clipboard

Copied

LATEST

Not at this time, no. But keep in mind that Embed gives you binary access to the edited PDF with annotations,  you can write code to 'hook' into the save process, and send it to your server. You would need server-side code to handle that though.

Votes

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
Resources