Question

HMRC
GB
Last activity: 7 Apr 2025 13:13 EDT
Refer to a Data Page and referencing via HTML
Hi,
Greetings. I am trying to use a property sourced from a Data Page via Refer to a Data Page. I am not using this directly in my HTML (if i use, table displays with values) however i have below HTML stored in a Data Type
Hi,
Greetings. I am trying to use a property sourced from a Data Page via Refer to a Data Page. I am not using this directly in my HTML (if i use, table displays with values) however i have below HTML stored in a Data Type
<table class="xxx-table xxx-!-margin-bottom-8">
<caption class="xxx-table__caption xxx-table__caption--s xxx-!-margin-bottom-2">xxx periods</caption>
<thead class="xxx-table__head">
<tr class="xxx-table__row">
<th scope="col" class="xxx-table__header xxx-!-width-one-third">From</th>
<th scope="col" class="xxx-table__header xxx-!-width-one-third">To</th>
<th scope="col" class="xxx-table__header xxx-!-width-one-third">xxxxx</th>
</tr>
</thead>
<tbody class="xxx-table__body">
<pega:forEach name=".PageName.PropertyList">
<tr class="xxx-table__row">
<td class="xxx-table__cell xxx-!-width-one-third">
<p:r n="$THIS.PropertyName1"/>
</td>
<td class="xxx-table__cell xxx-!-width-one-third">
<p:r n="$THIS.PropertyName2"/>
</td>
<td class="xxx-table__cell xxx-!-width-one-third">
<p:r n="$THIS.PropertyName3"/>
</td>
</tr>
</pega:forEach>
</tbody>
</table>
This HTML is being referred as <p:r n="TempPage.cp_Property" m="richtext"/> However when the HTML is displayed, i only get to see the table without any values, looks like not referencing Property sourced from Data Page is not working. Is there a way around this? Regards, Bharat