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
BedrockMission!

Learn More

View all

Sign in to view all badges

Convert XFAForm type to Document Type

Avatar

12-03-2009

I want to convert XfaForm type to a document type. Can someone tell me how to do this. I see this post in other topics as well but there is no answer that I found.



I looked at the Export Service, this service too needs a document type as an input.

Replies

Avatar

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile
Jasmin_Charbonn
Level 10

12-03-2009

A xfaForm variable is really just a pointer to a XDP in the repository and a render service that renders the XDP into a PDF when presented in WorkSpace.



In the process the xfaForm variable contains only the data from the PDF but not the PDF itself.



So when you say you want to convert the xfaForm variable into a document variable, I'm assuming you want to store the PDF representation of the xfaForm variable in that document variable right?



Since the document variable is an Adobe data type and can really contain anything, you could store the value of the xfaForm variable in the document but you would only get the xml data.



If you want the PDF you'll need to use LiveCycle form to convert the XDP into a PDF, merge the data from the xfaForm variable and store the resulted in the document variable.



Jasmin

Avatar

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
HowardTreisman
Level 9

22-03-2009

Just to clarify Jasmin:

You'll need either LiveCycle Forms (not form) component, the Render operation, or Form Data Integration component, ImportData operation.

howard

http://www.avoka.com

Avatar

Avatar
Validate 1
Level 1
hkho
Level 1

Like

1 like

Total Posts

53 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
hkho
Level 1

Like

1 like

Total Posts

53 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
hkho
Level 1

29-07-2009

Can I use the renderPDFForm Service to convert the xfa form to PDF without render it to workspace?

I tried to use it to convert the form to PDF but not sure what should I input for the URL Options?

Can I include attachments in the PDF as well?

Thanks.

Avatar

Avatar
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct Reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct Reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Hodmi
Level 5

30-07-2009

Yes, renderPDFForm (part of the Forms Service) is for merging data and template and getting a PDF.  With the 8.2 version the URL settings are used to point to the template location.  It uses a URI format - i.e if the template was in your myForms folder in the repository your settings would be:

Form to Render:   /myForms/mytemplate.xdp

Content Root URI:  repository://