utente2
Community profile utente2 Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 31-07-2020 12:23:43 AM
Offline
Top badges earned by utente2
Customize the badges you want to showcase on your profile
Using master page in fragment
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
- Adobe Experience Manager
Hi,in a AEM Forms document I use a fragment (let's call it A), which also includes the master pages where there is a title (let's call it H) to be placed at the top of the pages.Through a for loop I create n instances of A (with addInstance method). Each of these instances of A can be x pages, with x variable. How can I associate a growing number with H for each instance of A?That is, "text of H" + "1" on the pages of the first instance of A, "text of H" + "2" on the pages of the second instance...

Views

182

Likes

0

Replies

0
Re: use of addInstance
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
- Adobe Experience Manager Forms
In a template I have to import a fragment. In this fragment I want to create several instances of a subform and for each of these I check if the number of pages of the fragment has changed as the number of instances of the subform increases. For example, if after 5 iterations the fragment from 1 page goes to 2 pages I have to hide an element that is on the first page and modify another element that is on the next page.I thought about using the master page because from here I could read the value...

Views

318

Likes

0

Replies

0
use of addInstance
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
- Adobe Experience Manager Forms
Hello,I'm trying to use AEM Forms addInstance() method inside a MasterPage to instantiate multiple times, via a for loop, a subform (placed outside the Master Page). The result is that it calls the document multiple times, it goes into an infinite loop. Is it not possible to use addInstance() in this way in a MasterPage??

Views

354

Likes

0

Replies

3
Master Page in fragment
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
- Adobe Experience Manager Forms
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...

Views

242

Likes

0

Replies

0
Betreff: problem with Western Text
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
- Adobe Experience Manager Forms
It's like a table because the cells of the same row are linked. I've preferred not to use table or horizontal subforms because there should be some line under some field so using columns in this case seems to be less complicated

Views

384

Likes

0

Replies

0
problem with Western Text
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
- Adobe Experience Manager Forms
Hi,in the Designer of Aem Forms I used a subform with Content: Flowed and Flow direction: Western Text. Inside I have inserted 3 vertical subforms as columns. When it reachs the end of the page and splits to go to the next page, the first column is arranged correctly (starting from page 1 and ending on page 2), while the following columns start directly from page 2, leaving free space above them in the bottom of page 1. How can I get the right behavior? Thank you

Views

409

Likes

0

Replies

3
Betreff: repeat subforms for each data item
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
- Adobe Experience Manager Forms
thanks, your answer was helpful, I should study the use of istance manager. I don't have much experience with scripting in XFA (2 - 3 months)

Views

348

Likes

0

Replies

0
Re: subform height calculation
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
- Adobe Experience Manager Forms
pdf form

Views

330

Likes

0

Replies

0
Re: repeat subforms for each data item
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
- Adobe Experience Manager Forms
I can't post the image of the form because it is a customer product, I post a similar scheme that I have created now. Below are the structure and related bindings for the 3 fragments that are used by the general form. As you can see all 3 refer to the same type of data in the xml file (any errors in the names don't matter, they are examples)

Views

329

Like

1

Replies

0
Re: repeat subforms for each data item
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
- Adobe Experience Manager Forms
I tried to do as you wrote, in one case it works, in the other it doesn't. I try to explain better (I don't speak good English): I created a form that uses fragments. In the fragments I inserted the binding as indicated. If I preview directly from the fragment files, everything is ok, if instead I run the form that includes them, it displays all the pages only for one fragment. For the other ones it is as if it found only one page and did not see the repetition. Fragments use the same data in th...

Views

350

Like

1

Replies

1
repeat subforms for each data item
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
- Adobe Experience Manager Forms
Hello,I would like to ask a question about the "Repeat Subform for each data item" option present in the Aem Forms Designer in Object-> Binding. If I connect the element I want to repeat to the data of the XMl file through the "Data binding" field and select "Repeat Subform for each data item" the result I see in the preview is correct but it gives me a warning like "The maximum repeat value for this subform is set to a higher value than the data connection" if the number of connected data is eq...

Views

503

Likes

0

Replies

6
Re: subform height calculation
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
- Adobe Experience Manager Forms
ok thanks, now I only have a doubt. Between the last row and the footer I should insert a graphic element that covers the empty space. To do that the only way I can think of is to delete the empty rows, except one. And let this one have the height of the space left. Is it possible?

Views

380

Likes

0

Replies

1
Re: subform height calculation
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
- Adobe Experience Manager Forms
kprokopi,I thought I had to calculate the height in advance because I have to insert a series of rows, which can extend over 1 or more pages. Then I have to put a footer in a fixed position at the bottom, and between the last row and the footer another element is required to cover the remaining empty space (in the last page). So I wanted to calculate the height of the subform that contains the rows to set the height of the subform above the footer

Views

387

Likes

0

Replies

0
subform height calculation
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
- Adobe Experience Manager Forms
hi, I'm new to AEM Forms. I would like to ask how to calculate the height of a subform which varies according to the number of data passed. The subform is of the Flowed type, the height varies according to the number of elements contained in it (which depends on the number of data it finds). Is it possible to use javascript to calculate its height before printing, and then, using this value in a if control, to display another subform with a certain height rather than another? Thank you

Views

535

Likes

0

Replies

7
Likes given to
Likes from