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

Using RenderPDFForm to render an xdp form held in a variable

Avatar

Avatar
Validate 1
Level 7
kc
Level 7

Likes

0 likes

Total Posts

402 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 7
kc
Level 7

Likes

0 likes

Total Posts

402 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
kc
Level 7

03-04-2009

Hi all,



I would like to know how I can render an xdp-form (held in a variable - I get it from the Content Services or filesystem) using RenderPDFForm.



As I see it I can't render the form if it is not in the repository, but this seems like an awkward limitation to me. Can this be true?



Thanks in advance



Sincerely

Kim Christensen

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

03-04-2009

You can.



You would have to leave the form url blank, and pass the XDP template in the data parameter in a document variable.



If you wanted to have data in your XDP, you would have to set the data node of the XDP with it.



Jasmin

Avatar

Avatar
Validate 1
Level 3
AmbikaM
Level 3

Like

1 like

Total Posts

62 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
AmbikaM
Level 3

Like

1 like

Total Posts

62 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
AmbikaM
Level 3

05-04-2009

Jasmin,

Can u please explain this step, "If you wanted to have data in your XDP, you would have to set the data node of the XDP with it."

Actually, my problem is, I am trying to renderPDFForm providing the repository url of an xdp form but its throwing com.adobe.document.xmlform.RenderException.

Can u provide some insight on this exception?

Thanks and Regards,

Ambika

Avatar

Avatar
Validate 1
Level 7
kc
Level 7

Likes

0 likes

Total Posts

402 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 7
kc
Level 7

Likes

0 likes

Total Posts

402 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
kc
Level 7

06-04-2009

Hi again Jasmin,

Thanks for your reply - it works superbly.

Kim

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

06-04-2009

What's the error in the log?

Jasmin