Which product are you using?
PDF.js Express Plus
PDF.js Express Version
8.4.0
Detailed description of issue
When opening a document to edit that has required fields, they are highlighted in red. Other types of fields can have different highlighting as well like green, etc. What i’m having trouble figuring out is how to print, or merge and download (using the api) just the values from these fields without any of the highlighting.
When exporting the xfdf to pass to the api, I use the following:
const fileData = await this.docViewer.getDocument().getFileData();
const xfdf = await this.annotManager.exportAnnotations({ fields: true, widgets: true });
utils.setFile(fileData).setXFDF(xfdf)
const response = await utils.merge();
const mergedFile = await response.getBlob();
But, like i mentioned, the resulting file contains the highlighting. When i set widgets to false, neither the fields nor the values appear on the resulting ‘mergedFile’
Does your issue happen with every document, or just one?
every document