Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Copy Date value from Design Page to Master Page


Level 1

Hi All,

I have a table with one of the columns as the Date Field in Design Page. I have one Date Field in the Master Page.

As and when user enters the date value in the table in the Design Page ( Content Area ), one of date values must be dynamically populated to Date Field in Master Page.

I tried with different paths but its seems not be working. My concern is, Can we copy a value from Content Area to a field in Master page?

Please share your thoughts and Suggestions...



1 Reply


Level 7

In the exit event for the field whose data you want copied to the master page:

form1.pageSet.Page1.Text1.rawValue = this.rawValue;

I'm making a couple of presumptions here: 1) The name of your master page is Page1 and the name of the text field is Text1, and 2) that you're handling the formatting elsewhere, or you don't care about it.

If the formatting does matter you can try this.

form1.pageSet.Page1.Text1.rawValue = this.formattedValue;