Hello team, I have programmed a button to download the modified or signed pdf, I would like to know if a copy of the modified pdf can be stored on the same server, it can be with javascript or php or both.
instance.setHeaderItems(header => {
header.push({
type: 'actionButton',
img : '/wp-content/themes/woffice/download-btn.png',
onClick: async () => {
const xfdfString = await annotManager.exportAnnotations();
const saveOptions = CoreControls.SaveOptions;
const options = {
filename: 'myDocument.pdf',
xfdfString,
flags: saveOptions.LINEARIZED,
downloadType: 'pdf'
};
instance.downloadPdf(options);
}
});
});
Regards