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.
Duh! I forgot that each element in the form has the presence option. Changing the presence attribute (in Object pallet) from Visible to Visible (Screen Only) is the quickest way to solve this. For process fields specifically only changing the action dropdown and submit button from visible to visible (screen only) will not send these to the server.