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 PDF form as HTML

Avatar

Avatar
Validate 1
Level 2
SeanLapointe
Level 2

Likes

3 likes

Total Posts

42 posts

Correct Reply

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

Avatar
Validate 1
Level 2
SeanLapointe
Level 2

Likes

3 likes

Total Posts

42 posts

Correct Reply

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

22-01-2020

We are currently upgrading from LC ES 4 to AEM Forms 6.4 and are in the process of migrating our Flex workspace to the HTML workspace. We would also like to be able to render our XDP PDF Forms in HTML. We pre-fill our forms and add a form bridge using a custom action profile, so changing the start point action profile render process to HTML doesn't give the expected result.

 

Are there any resources out there that can offer assistance or pointers on this?

Replies

Avatar

Avatar
Give Back
Level 1
abhishek4743
Level 1

Likes

2 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile

Avatar
Give Back
Level 1
abhishek4743
Level 1

Likes

2 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile
abhishek4743
Level 1

23-01-2020

Here is a documentation which talks about "Migrating from Flex Workspace to AEM Forms workspace" as well as "HTML rendering of XDP Forms".

 

[0]: https://helpx.adobe.com/in/experience-manager/6-4/forms/using/html-workspace-overview.html

Avatar

Avatar
Validate 1
Level 2
SeanLapointe
Level 2

Likes

3 likes

Total Posts

42 posts

Correct Reply

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

Avatar
Validate 1
Level 2
SeanLapointe
Level 2

Likes

3 likes

Total Posts

42 posts

Correct Reply

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

23-01-2020

I have read that page already, and it does not mention how to get a custom action profile rendered as HTML. As I mentioned in my post, changing the action profile does not render our form properly.

Avatar

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile
Mayank_Gandhi
Level 10

26-01-2020

Hi Sean,

 

When you have an XDP then there are multiple ways to render it as HTML.

1. use HTML WS

2. Use the render profile

3. Upload it to forms Manager portal on OSGI side and use preview as HTML

 

Pretty much all the technique uses the default rendering profile and the URL construct for point 2 can be done using below document:

https://helpx.adobe.com/experience-manager/6-3/forms/using/rendering-form-template.html

 

Now, as you see the the document you will notice that you need to use dataRef for dataXml and for custom profile you can follow the below link:

https://helpx.adobe.com/aem-forms/6/html5-forms/custom-profile.html

 

Regarding HTML WS question, please share more details.

 

Thanks,

Mayank Gandhi

Avatar

Avatar
Ignite 1
Level 2
Paul_Triffitt
Level 2

Likes

3 likes

Total Posts

8 posts

Correct Reply

3 solutions
Top badges earned
Ignite 1
Give Back
Boost 3
Boost 1
Affirm 3
View profile

Avatar
Ignite 1
Level 2
Paul_Triffitt
Level 2

Likes

3 likes

Total Posts

8 posts

Correct Reply

3 solutions
Top badges earned
Ignite 1
Give Back
Boost 3
Boost 1
Affirm 3
View profile
Paul_Triffitt
Level 2

30-01-2020

Sounds like you need to create your own HTML Render service and use that in a custom render profile - depending on what the actual issue is with your render

Avatar

Avatar
Validate 1
Level 2
SeanLapointe
Level 2

Likes

3 likes

Total Posts

42 posts

Correct Reply

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

Avatar
Validate 1
Level 2
SeanLapointe
Level 2

Likes

3 likes

Total Posts

42 posts

Correct Reply

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

03-02-2020

When I use the HTML ws, my form is rendered in PDF format. We are using Workbench to set a custom action profile for when the task is assigned to a user. This custom action profile pulls information from our db that sets up the form in different ways based on the user.

If I change the action profile for the task to the default HTML profile, it will render the form in HTML, but none of the data I collect in my custom profile is added to the form.

Avatar

Avatar
Ignite 5
Level 3
gbedekar
Level 3

Likes

24 likes

Total Posts

33 posts

Correct Reply

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

Avatar
Ignite 5
Level 3
gbedekar
Level 3

Likes

24 likes

Total Posts

33 posts

Correct Reply

8 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile
gbedekar
Level 3

30-09-2020

Avatar

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

132 likes

Total Posts

310 posts

Correct Reply

87 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

132 likes

Total Posts

310 posts

Correct Reply

87 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Kosta_Prokopiu1
Employee

30-09-2020

Not sure if you found a solution but I can offer some explanations:

I have a complex process which uses a custom render orchestration which stitches XDPs together and modifies the data and then returns a PDF with reader extensions.

Kosta_Prokopiu1_0-1601475545016.png

When I started to migrate this to HTML (experimental) I had to go about it completely differently because I did not get my form rendered and data prefilled. I re-designed my whole form to not being stitched (HTML renderer cannot pick it up - it must be accessible in the application or from the CRX repository)

First I added a prepareData process setting some basic values

Kosta_Prokopiu1_1-1601475701928.png

And I then use the Render New HTML Form process in the profile

Kosta_Prokopiu1_4-1601476050960.png

The main difference is that you do not get the HTML as a return byte-stream like the PDF but a URL that gets called in ws by the browser which in turn renders the HTML with merged data on the server and then displays it inside ws.