XFDF import/export in Professional Viewer Client API (wasm)

Posted by: mark on 3 January 2025, 3:35 pm EST

  • Posted 3 January 2025, 3:35 pm EST

    I do not see any functionality in the professional viewer client API for importing or exporting XFDF. I am specifically interested in importing/exporting annotation data. Am I missing something or is it truly absent? If absent, do you have plans to add the functionality in a future update?

  • Posted 6 January 2025, 5:25 am EST

    Hi,

    It is currently not possible to import and export the annotation data from and to the XFDF file respectively using DsPdfViewer. We have escalated the case to the concerned team to look into this matter and will update you as soon as we get any information from their end.

    Meanwhile, we recommend the following workaround for exporting and importing the XFDF annotation data to DsPdfViewer:

    1. To export the data, get the annotations using viewer.annotations in JSON format, convert this JSON to XFDF format, and save the file in XFDF format.

    2. To import the data, load the XFDF file into the application, convert the content to JSON format, and add annotations into the PDF using the viewer.addAnnotation method.

    [Internal Tracking ID: DOC-6694]

    Best Regards,

    Kartik

  • Posted 21 January 2025, 12:48 am EST

    Hi,

    The development team has discussed this feature and plans to implement it in a future release. However, they are currently unable to provide an estimated timeline. We will keep you informed of any updates.

    Best Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels