Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Liquid FetchXML returns empty object

$
0
0

Hi all,

I had working an API called from Portals (managed on Portals > Web templates). It has been working until a couple of minutes ago when I changed some field on an entity's form.

Now, whenever I try to return any data from any entity it returns nothing. I am trying this with "Role" entity (just as an example):

% fetchxml feed %}
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" returntotalrecordcount="true">
  <entity name="role">
    <attribute name="createdon" />
    <order attribute="createdon" descending="true" />
  </entity>
</fetch>
{% endfetchxml %}{
  "totalcount": {{ feed.results.total_record_count }}
}


I also tried with {{ feed }} just for testing and nothing. Any suggestions?


Viewing all articles
Browse latest Browse all 79901