Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Converting Document to Document Form

Avatar

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

Avatar

Level 10
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

Avatar

Level 4
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)

Avatar

Level 4
Oh I was late with my response - thanks for the attempt though, Jasmin!