Highlighted

Converting Document to Document Form

JoshDBoyle-DVzR

10-11-2008

As the title suggests, how would one go about converting a PDF Document to a Document Form?

Replies

Highlighted

Jasmin_Charbonn

10-11-2008

You can't really convert one to another. The Document Form is a complex variable type that can include the value a document variable.



So using a setValue you could set the document property of the Document Form to the value of your document variable.



Something like /process_data/MyDocForm/object/document = /process_data/MyDocument



Jasmin
Highlighted

JoshDBoyle-DVzR

10-11-2008

Nevermind - I figured it out.



I just set the fromURL property of the Document Form to my XFA form's (what I started with before the conversion to a Document) templateURL and then set the Document property of the Document Form to the Document itself (the converted/rendered XFA)