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 / Filter Entity list bas...
Power Pages
Unanswered

Filter Entity list based on a logged in contact field along with account

(0) ShareShare
ReportReport
Posted on by 4

Hello,

 

I am trying to filter the list of records that portal user can view. Right now its on the account scope of the portal user. In addition to it, filter should be applied based on the optionset field that is on the contact entity suppose "A".  I have the same option set field on the Entity B. so the filter should be entity A.option set value= entity B.optionset value.

 

Please suggest how to implement this to filter the existing entity list of the Entity B

 

Categories:
I have the same question (0)
  • H V Profile Picture
    1,510 on at

    Hi @deepthih 

    You need to use fetchxml using liquid code in Entity List. You can add your custom filter in fetchxml as well as in liquid code.

     

    Please refer below blog: http://dyn365apps.com/2017/09/14/dynamics-365-portals-liquid-templates-part-3-retrieve-data-using-fetchxml/

  • BC-03021823-0 Profile Picture
    Microsoft Employee on at

    Just wanted to add webapi has been added as a preview capability to portals and that may be an alternate way to retrieve to fetchxml: https://docs.microsoft.com/en-us/powerapps/maker/portals/web-api-overview

  • deepthih Profile Picture
    4 on at

    Hi @hardikv , Thankyou for your response, I have seen this post, And its building custom web template and fetch xml is appended to it instead of entity list. My requirement is to use the same web template and entity list.

    Is there any way that i can add filters to the entity list directly? 

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
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard