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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Liquid - entities obje...
Power Pages
Unanswered

Liquid - entities object doesn't work

(0) ShareShare
ReportReport
Posted on by 22

Our system uses Power pages with enhanced data model enabled. We have several pages using liquid template code and has been working fine. After the Power Pages release - 9.5.6.x GA Wave 1 that occurred on 30th July, fetching records using entities liquid object stopped working.

 

Liquid template lines like entities.contact[guid] now throws an error: Liquid error: Sequence contains no elements

 

The same fetch on Contact entity records works well if the above line is replaced by liquid fetchxml query.

 

I opened a ticket with Microsoft, but they haven't responded yet. Is anyone else facing this issue, or have a solution to this?

 

Categories:
I have the same question (0)
  • Lucas001 Profile Picture
    2,562 Super User 2026 Season 1 on at

    Hi @bilgybabu,

     

    I am using the enhanced model as well, but got limitations.I am using a custom table with the same liquid as you do.

     

    Could you test another table instead the contact table is a systems' table. Maybe they changed something on the table itself, what would probably effect all of us at some point.

  • bilgybabu Profile Picture
    22 on at

    Hi @Lucas001 ,

     

    I do have other pages fetching custom entity records like this, it stopped working there as well.

     

    For testing, I created a trial environment with 2 power pages site one on standard and the other on enhanced data model. The issue exists on the one with enhanced model but not on the other one. What region your site is on and could you check on the admin centre if you received a notification for the release occuring on July 30th (We received the notification on 27th July)?

  • Lucas001 Profile Picture
    2,562 Super User 2026 Season 1 on at

    Hi @bilgybabu,

     

     

    I just checked right now as I am using the way to give the customer the possibility to change textsamples themselves.

    I am using the below liquid and use the variable with {{ textheader }} inside a html tag. And it works fine for me.

    {% assign textHeader = entities.test['8f6138f1-test-test-9cbc-6045bd8be48b'] %}

     

    As far as I can see it we got no notification. But I am not a global admin, so I cannot say for sure.

    What does the message say?

     

    If the support solves your solution please keep us updated as we might come across the same problem as you just did.

     

     

     

  • bilgybabu Profile Picture
    22 on at

    Hi @Lucas001 ,

     

    This is what the release notification said:

     

    bilgybabu_0-1691180743272.png

    Our DEV and UAT portals were marked for upgrade in this notification and I can confirm that it stopped working right after this release. 

     

    Like I said, for testing this, I also set up a trial environment with one standard model and one enhanced model site, and this way of fetching records doesn't work in the enhanced model site, while the other site works perfectly fine.

     

    Thanks!

  • Lucas001 Profile Picture
    2,562 Super User 2026 Season 1 on at

    Hi @bilgybabu,

     

    strange behaviour. But as spoken with a lot of Community Members the enhanced data model is right now really in preview. And after working with it since the beginning, I currently cannot recommend it as there are to many bugs.

     

    Did the support manage to answer or help you?

  • bilgybabu Profile Picture
    22 on at

    Nope, no reply yet.

  • Lucas001 Profile Picture
    2,562 Super User 2026 Season 1 on at

    Hi @bilgybabu,

     

    there are some updates to the power pages core package and some others for power pages since yesterday.

    Did you install them? Maybe those will solve your problem as I faced a similar issue at the weekend which is now solved.

     

    When your page is broken after installing the update, the problem refers to https://learn.microsoft.com/en-us/power-pages/admin/upgrade-site#solution-update. Waiting some time, in my case approx. 2h solved the issue.

  • seangoodlip Profile Picture
    4 on at

    We are currently facing the same issue but I noticed that this only happens on custom tables. Did you manage to get any response from MS support please?

  • Lucas001 Profile Picture
    2,562 Super User 2026 Season 1 on at

    Fortunately for me the new update solved the issue and I can now work fine again.

    Did you install your updates to the latest version, restart the page and tried it again?

     

    Other than that I have no news, unfortunately.

  • bilgybabu Profile Picture
    22 on at

    @Lucas001 For me the update has not fixed the issue and there is very little help from Microsoft on this yet. Now I'm noticing new issues with Enhanced data model. Basic form/Multistep from Metadata doesn't seem to function right. 'Set Value on save' metadata set on any Basic form appears to be effecting all basic forms. Like, let's say I have a basic form on Contact and a metadata for setting value on save for statuscode. This appears to be setting statuscode for all basic forms in the system, If I have an Account basic form, saving the record on that basic form seems to be trying to set statuscode. Have you noticed anything like this?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 48

#2
Valantis Profile Picture

Valantis 46

#3
rezarizvii Profile Picture

rezarizvii 43

Last 30 days Overall leaderboard