Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

216
Views
Adobe PDF Embed API: cómo generar el ID de archivo para metadatos

Estoy usando Adobe PDF Embedded API para ver, editar y guardar el PDF y funciona bien.

Para obtener las anotaciones, he encontrado el siguiente código:

 document.addEventListener("adobe_dc_view_sdk.ready", function() { var adobeDCView = new AdobeDC.View({clientId: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view"}); var previewFilePromise = adobeDCView.previewFile({ content: {location: {url: "https://documentcloud.adobe.com/view-sdk-demo/PDFs/Bodea Brochure.pdf"}}, //id is metaData: { fileName: "Bodea Brochure.pdf", /* file ID */ id: "77c6fa5d-6d74-4104-8349-657c8411a834"} }, { enableAnnotationAPIs: true, }); previewFilePromise.then(adobeViewer => { adobeViewer.getAnnotationManager().then(annotationManager => { // All annotation APIs can be invoked here }); }); });

Encontré esta nota de la documentación:

 To enabled the annotation APIs, you must pass a PDF ID in the metadata field when invoking the previewFile API. This ID uniquely identifies the PDF so that annotations can be added.

¿Alguien puede decirme cómo obtener la ID de PDF para agregar dentro de un objeto de metadatos ?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!