How to Access child element in Data List?How to Access child element in Data List?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1204989682024-03-28T10:19:27Z2024-03-28T10:19:27ZHow to Access child element in Data List?Minhal Manasiyahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1204989672020-12-10T17:57:22Z2020-12-10T09:44:56Z<p>Hello<br /> </p>
<p>I am using liferay 7.3.2 GA3. Want to access child element in Data
List, tried a lot but not getting child element in Data List.</p>
<p>
<img src="/documents/14/0/parent_child.png/c00e3f0b-77b5-28b2-d785-ca3ad9181c9c?t=1607592976616&imagePreview=1" /></p>
<p>Above is my Structure<br /> </p>
<pre><code><#assign records=ddlDisplayTemplateHelper.getRecords(reserved_record_set_id)>
<#if records?has_content>
<#list records as cur_record>
<div class="mt-100 container-fluid ProfilebkSection">
<div class="row">
<h1>${ddlDisplayTemplateHelper.renderRecordFieldValue(cur_record.getDDMFormFieldValues("txt_parent")?first, locale)}</h1>
<h1> ${ddlDisplayTemplateHelper.renderRecordFieldValue(cur_record.getDDMFormFieldValues("txt_parent.txt_child")?first, locale)}</h1>
</div>
</div>
</#list>
</#if></code></pre>
<p>this is my Template</p>
<p> </p>
<p>Please suggest the right way.<br /> </p>
<p>Thanks!&l