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

Render XDP to Static PDF Form

Avatar

Avatar
Give Back 5
Level 2
Maruan_Sahyoun
Level 2

Likes

3 likes

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile

Avatar
Give Back 5
Level 2
Maruan_Sahyoun
Level 2

Likes

3 likes

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
Maruan_Sahyoun
Level 2

09-08-2019

Using FormsService on AEM forms OSGI I can render an XDP to a dynamic PDF Form. But is it also possible to generate a static PDF Form similar to the renderPDFForm operation with AEM Forms JEE?

Couldn't find any option to do so.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

134 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

134 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile
workflowuser
Employee

09-08-2019

AEM Forms  OSGI produces dynamic PDFs only

Answers (9)

Answers (9)

Avatar

Avatar
Give Back 5
Level 2
Maruan_Sahyoun
Level 2

Likes

3 likes

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile

Avatar
Give Back 5
Level 2
Maruan_Sahyoun
Level 2

Likes

3 likes

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
Maruan_Sahyoun
Level 2

12-08-2019

that's one of the issues they are facing. As outlined - longer term they will be moving to HTML based form - but short term they would like to replicate what they had with ES4 JEE

In addition - some post processing depends on the AcroForm field content of the PDF - obviously with a dynamic XFA based PDF there are no AcroForm fields.

Avatar

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

134 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

134 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile
workflowuser
Employee

12-08-2019

are they worried about not being able to open dynamic pdf's in browsers?

Avatar

Avatar
Give Back 5
Level 2
Maruan_Sahyoun
Level 2

Likes

3 likes

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile

Avatar
Give Back 5
Level 2
Maruan_Sahyoun
Level 2

Likes

3 likes

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
Maruan_Sahyoun
Level 2

12-08-2019

the customer was using ES4 and moved to AEM Forms. As they manage the XDP in the repo and they wanted to avoid the complexity of JEE they are looking to use AEM Forms OSGI only but initially are looking to get the same rendered result as they don't want to change their customers experience initially.

Longer term they are looking to move to Adaptive Forms.

Avatar

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

134 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

134 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile
workflowuser
Employee

12-08-2019

What is your use case to render it as static pdf?

Avatar

Avatar
Give Back 5
Level 2
Maruan_Sahyoun
Level 2

Likes

3 likes

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile

Avatar
Give Back 5
Level 2
Maruan_Sahyoun
Level 2

Likes

3 likes

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
Maruan_Sahyoun
Level 2

12-08-2019

Yes, but a static interactive PDF i.e. one that - in addition to the XFA content - has an AcroForm representation. FormsService doesn't offer that but the Render Service in JEE as an option to do so.

It's the same as saving to Static PDF or Dynamic PDF from AEM Forms Designer

Avatar

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

134 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

134 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile
workflowuser
Employee

12-08-2019

Avatar

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

134 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

134 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile
workflowuser
Employee

12-08-2019

Do you want to render interactive form?

Avatar

Avatar
Give Back 5
Level 2
Maruan_Sahyoun
Level 2

Likes

3 likes

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile

Avatar
Give Back 5
Level 2
Maruan_Sahyoun
Level 2

Likes

3 likes

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
Maruan_Sahyoun
Level 2

12-08-2019

Thanks for the feedback - but we need to render an interactive form instead of a flat PDF. From that - and as I havn't found any better answer I'll accept the one from workflowuser

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

309 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

309 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

12-08-2019

You have the API (Output Service) in OSGi as well like JEE using that you generate the PDF. If you want to render that in the browser then you can embed that in your page with API results.