Hi Steve, Thank you for the reply. I looked into the API and don't think
it will fit my needs. The form I am refering will be used as "template"
which will allow user to fill in at runtime. In Designer, we can either
save such form as XDP or Dynamic PDF form. In my case, I want to have
both types of the same form for different usage. Right now all my forms
are created as XDP. Instead of saving them to Dynamic PDF form one by
one manually through Designer, is there a way to programically
Ohh, I see.But I think you can do this in a workaround with PDF, like
the following.1. Load a form in Designer2. Delete possibly existing
metadata in the XML Source ... 3. Add fragment with the
scripting for the metadata changes4. Save as PDF5. Close the PDF6.
Reopen the PDF7. Save as XDP