Hello,
I want to show data from dynamics 365 on portal page, I am following article here - https://www.iotap.com/blog/entryid/414/default
I have created web template like below code:
{% fetchxml mobileSize %}
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" returntotalrecordcount="true" page="1" >
<entity name="new_mobile" >
<attribute name="new_size" />
</entity>
</fetch>
{% endfetchxml %}
{
{% if mobileSize.results.total_record_count != 0 %}
"value": [{
{% for item in mobileSize.results.entities %}
"size": item.size
{% unless forloop.last %},{% endunless %}
{% endfor %}
}]
{% else %}
"value": []
{% endif %}
}
but I am getting
mobileSize.results.total_record_count = 0
Even if there is 5 record matching the fetchxml query. see below image (I have confirmed with xrmtoolbox)

I am not able to figure out what I am missing. does anybody faced this situation?
Regards,
Ashish
*This post is locked for comments
I have the same question (0)