Hi
I was trying to display cds data in powerapps portal web page
This is the code i used
{% fetchxml demoData %}
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="cr930_vai_product">
<attribute name="cr930_vai_productid"/>
<attribute name="cr930_productshortdesc"/>
<attribute name="cr930_productname"/>
<attribute name="cr930_productrating"/>
<order attribute="cr930_productrating" descending="false">
</order>
</entity>
</fetch>
{% endfetchxml %}
<b>Total Records:</b> {{demoData.results.entities.size}}<br>
<table class="table">
<thead class="thead-dark">
<tr>
<th scope="col">ProductName</th>
<th scope="col">Product Description</th>
</tr>
</thead>
<tbody>
{% for result in demoData.results.entities %}
<tr>
<td> {{ result.cr930_productname }}</td>
<td> {{ result.cr930_productshortdesc }}</td>
</tr>
{% endfor %}
</tbody>
</table>
Total record size was displaying but the table is empty
here is output screenshot