web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Receiving Liquid error...
Power Pages
Unanswered

Receiving Liquid error: Exception has been thrown by the target of an invocation

(0) ShareShare
ReportReport
Posted on by

I am receiving liquid error on one of our web templates. Any help is appreciated.

 

Here is the code:

{% fetchxml workorderlist %}
<fetch version="1.0" mapping="logical" output-format="xml-platform" distinct="true" returntotalrecordcount="true">
<entity name="msdyn_workorder">
<attribute name="msdyn_name" />
<attribute name="createdon" />
<attribute name="msdyn_systemstatus" />
<attribute name="msdyn_reportedbycontact" />
<attribute name="msdyn_workorderid" />
<filter type="and">
<condition attribute="msdyn_workordertype" operator="eq" value="64904c98-e626-ec11-b6e5-002248262ebd"
uiname="Corrective" uitype="msdyn_workordertype" />
<condition attribute="msdyn_systemstatus" operator="in" value="">
<value>690970000</value>
<value>690970001</value>
<value>690970002</value>
</condition>
<filter type="or">
<condition entityname="contactrelatedaccount" attribute="contactid" operator="eq" value="{{user.id}}" />
<condition entityname="contactacct" attribute="contactid" operator="eq" value="{{user.id}}" />
</filter>
</filter>
<order attribute="createdon" descending="true" />
<link-entity name="account" from="accountid" to="msdyn_serviceaccount" alias="svcacct">
<attribute name="name" />
<link-entity name="mxl_account_contact_medxcel" from="accountid" to="accountid" link-type="outer"
alias="acct" intersect="true">
<link-entity name="contact" from="contactid" to="contactid" link-type="outer"
alias="contactrelatedaccount" intersect="true" />
</link-entity>
</link-entity>
<link-entity name="account" from="accountid" to="msdyn_serviceaccount">
<link-entity name="contact" from="parentcustomerid" to="accountid" link-type="outer" alias="contactacct" />
</link-entity>
<link-entity name="msdyn_incidenttype" from="msdyn_incidenttypeid" to="msdyn_primaryincidenttype"
alias="incident">
<attribute name="msdyn_name" />
</link-entity>
<link-entity name="msdyn_functionallocation" from="msdyn_functionallocationid" to="msdyn_functionallocation"
alias="loc">
<attribute name="msdyn_name" />
</link-entity>
<link-entity name="contact" from="contactid" to="msdyn_reportedbycontact" alias="reportedby">
<attribute name="fullname" />
</link-entity>
</entity>
</fetch>
{% endfetchxml %}

 

Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @satram,

    Can you run your fetchxml in XrmToolBox in either FetchxmlBuilder or FetchxmlTester to validate your fetchxml query?

  • AkshayShah Profile Picture
    59 on at

    Hello Satram,

    All Entity have sufficient table permissions in power pages?

     

    Thanks,

    Akshay Shah

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 70 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard