I am using Angular framework for pdftron/webviewer. I am opening the PDF perfectly. Inserting the variables too. Like, {{ document.name }}. It shows the inserted value, for example “Name of the Document” gets place of the variable.
However, If I try to download the file, it does not download with inserted values. But the raw variable names, like {{ document.number }} etc… Still the UI shows the updated view.
Can you tell us how are you applying template values? Can you also provide us with the files you have been using to reproduce the issue, if they are confidential, we will have to find another way around it (please do not post any sensitive matters on the forum).
You can check the guide here: Apryse Documentation | Documentation
Otherwise could you please provide us with a minimal runnable reproducible sample, so we can do our internal testing.
*A minimal runnable reproducible sample refers to a simplified version of your project where unrelated/unnecessary code has been removed. The issue should still be reproducible in this simplified version.
This helps us isolate and understand the problem more efficiently. You can provide us with a download link or GitHub repo.
I am implementing the WebViewer and also seem to be facing the same issue as described by umar.
I was able to run the snippet in the demo with the attached files (2x very simple examples with a single line of text and a single variable) which reproduces the behaviour described. I can confirm that although the interface shows the template values, the tags are not replaced in the downloaded PDF document.