liferay-intellij-plugin
liferay-intellij-plugin copied to clipboard
it is better to be able to create a json with layout content reading from DB
In that latest DXP, Liferay has a new layout type called fragment or content. Not like a widget/portlet layout, fragment layouts store the structure as json in DB. In some cases, developers need to read the json and store in their custom module, so it is better to have a way to create a json with this content from DB. Some initial ideas:
- a menu item under File-> New to popup a window
- a window shows available site/group list, along with available layout/page list
- after choosing proper site and layout, it will read the content from DB basing on selected the information group and layout
Some key tables relating to this topic:
- layout
- layoutpagetemplatestructure
- layoutpagetemplatestructurerel
- fragmententrylink