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 / Liquid how to use cust...
Power Pages
Suggested Answer

Liquid how to use custom objects?

(0) ShareShare
ReportReport
Posted on by
Hi all
I try following lines of code in a Power Page Website:
{% assign myObject = {"A": 123, "B": 47839} %}
{% if myObject %}
    myObject.A: '{{ myObject.A }}'
{% else %}
    myObject is null!
{% endif %}
 
output is always 'myObject is null!
 
Is it possible to work with custom objects in Power Pages liquid? What do I wrong?
Categories:
I have the same question (0)
  • Suggested answer
    Lucas001 Profile Picture
    2,434 Super User 2025 Season 2 on at
     
    unfortunately custom objects are not really supported inside power pages liquid.
     
    There are defined objects like the user, ad, forum etc. but custom objects are not a thing.
     
    In case you really need a custom object you could use a longer string in combination with split.
    If you have a specific usecase, please share it with us and we can have a look if there is another way.
     
     

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 74 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard