legacy-knowledge-base
Publicado Jun. 25, 2030

Site-Initializer: parent and child page

written-by

Debora Vita

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • We are looking into how to generate child pages with the site-initializer. Can we use the native Liferay to generate child pages or do we have to go through code? Besides, maybe there is a simple way to override the native code?

Environment

  • DXP 7.4

Resolution

  • Child pages just need to be added inside their parent page's folder doing the following:
    layouts
    |----->1_home
    |----->1_subhome
    | |----->page.json
    | |----->page-definition.json
    |----->page.json
    |----->page-definition.json

 

did-this-article-resolve-your-issue

legacy-knowledge-base