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

Master Page in fragment

Avatar

Avatar
Validate 1
Level 1
utente2
Level 1

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
utente2
Level 1

Likes

2 likes

Total Posts

14 posts

Correct Reply

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

31-08-2020

Hello,

I should insert in an AEM Forms template a fragment in which there is also some code in a Master Page. Generally to create a fragment I follow this procedure: I first create a form (let's call it formFragment) with New -> Form, I selected a subform and I click on Create fragment on it. So to use the fragment in the template that was supposed to import it (let's call it mainForm) I select Insert Fragment by choosing the subform in formFragment. This obviously does not allow me to import the formFragment Master Pages as well, so I tried to  use Create fragment on the first level of formFragment ("document"), on the main container, in order to select the whole form, including the Master Pages. But it is not possible to change the name of "document", so there is a conflict because there is the same name ("document") in both mainForm and formFragment, causing an error. How could I import the fragment along with its Master Pages? Thank you

Accepted Solutions (0)

Answers (0)