Site-Initializer: parent and child page

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

 

Was this article helpful?
0 out of 1 found this helpful