Liferay 7.4 stores the structure data in the "ddmfieldattribute" table. I'm trying to get the fields of the structures in the ADT template, but I can't find the solution.
The structure has the following fields:
- title
- content
The ADT code is as follows:
<#assign dlService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")>
<#if entries?has_content>
<#list entries as entry>
<#if entry.getClassName() == "com.liferay.journal.model.JournalArticle" >
//Get the fields from the structure
</#if>
</#list>
</#if>
Regards!