Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Master page: input data from master page 1 showing into another input box in master page 2


Level 2


I have 2 master page:

  • Master page 1: has input text box to enter a file #. The master page is only used for the first page.
  • Master page 2: used for the next 4 pages. I have the same input box (named differently: SourceCode) and want the data from the master page 1 to show in that one.

This is what I have so far:

The master page 1 input box:

form1.#pageSet[0].Page1.Debried::exit - (JavaScript, client)

SourceCode.rawValue = this.rawValue;

The master page 2 input box is set to Calculated - Read Only.

The data is not showing. I guess I am missing something since both are in the master page??

1 Reply


Level 7

Here's my solution to this. (I used the calculate event for the box that would be on the second master page, but you could modify it to work for another event.)