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 / Retrieve a value from ...
Power Pages
Unanswered

Retrieve a value from the related entities using Liquid Templates

(0) ShareShare
ReportReport
Posted on by

I am building a portal that ties into a dynamics 365 system with the higher education accelerator installed. In that system contacts have a many-to-many relationship with areas of interest. I assigned my account 3 areas of interest. In the portal, I want to use liquid templates to retrieve the names of those 3 entities. (I picked some random ones: Aircraft, Casino Gambling, and Hockey) 

These are the pertinent lines of code: 

{% for interest in user.mshied_contact_areaofinterest %}
<div>AOI: {{ interest.mshied_name }}</div>
{% endfor %}

<div>Areas of Interest: {{ user.mshied_contact_areaofinterest | size }} </div>

The output is:

AOI:

AOI:

AOI:

Areas of Interest: 3

 

What am I missing to get values from the array of areas of interest? I got the .mshied_name from customization in advanced settings, I tried several other fields in the area of interest entity, but still got blanks. Other tests like checking if AOI existed seemed to indicate it was null. If so, then what is it counting? Thank you for your time and any help anyone might offer. 

Categories:
I have the same question (0)

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

#2
Lucas001 Profile Picture

Lucas001 25 Super User 2025 Season 2

#3
Jerald Felix Profile Picture

Jerald Felix 23

Last 30 days Overall leaderboard