When I submit a XDP form from workspace and then use it to flatten it as a pdf using generatePDFOutput operation, the resulting pdf includes all the buttons in the form as well as process fields (submit button etc).
How can I selectively ignore all the buttons and any field for generatePDFOutput?
If possible I would like to control this on the process orchestration rather than on the xdp scripting.
Any help is greatly appreciated.