Thank you, Nith, for looking at my problem.Do you mean the scripting
mehtod xfa.host.exportData?As far as I understood, this can be used to
export the data, but not to save the whole file as PDF.My current
solution looks like follows. I'm using the docReady event, to ask the
user whether s/he wants to save under the same name or
notServiceProcurementNotice::docReady - (JavaScript, client)var myDoc =
event.target;try{var userSave = xfa.host.messageBox("Do you want to save
changes to " + myDoc.doc...