We use PDFTron PDFNet SDK in our application for a variety of reasons.
What should happen:
When the client opens the document the calculation on the form should add todays day and the clients name (like a timestamp).
What actually happens:
You would need to manually copy/import these actions (e.g. with pdfdoc.GetSDFDoc().ImportObj(action.GetSDFObj(), true)) and associate them with the new document:
Action doc_open_action = new Action(imported_action_dict);
For specifics, please send the file to support at pdftron.
Thanks for the swift reply.
Looking into it with your explanation in mind and the PDF reference manual, it turns out the AcroForms > CO dict (dictionary that handles interactive form calculations) wasn’t being formed, because we are only taking the page. So what I did to fix this was to rebuilt the dictionary after copying the pages over.
Many thanks for the help.