Expand my Community achievements bar.

Get root page properties on all child page

Avatar

Level 4

Hi All,

Can i get root page properties on all child pages but condition is root page and child pages are using the same template and i don't want author all child pages.

Here we can not use design_dialog as per the requirement.

2 Replies

Avatar

Level 3

Hi Amit,

Have you got the solution for this? I'm also looking for this.Please let me know if you find a way.

Thanks,

Kiran

Avatar

Community Advisor

You can do it with Java.

Create WCMUsePojo and find root page using below method and read root page properties and return as map.

// Initializes the navigation

  @Override

  public void activate() throws Exception {

  rootPage = getCurrentPage().getAbsoluteParent(1);

  ValueMap vm = rootPage.getProperties();

}

Page ("The Adobe AEM Quickstart and Web Application.")

Page ("The Adobe AEM Quickstart and Web Application.")



Arun Patidar