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 / Filtering entity list ...
Power Pages
Answered

Filtering entity list by query string value for Portal Page

(0) ShareShare
ReportReport
Posted on by 6

Hey looking for some help on Filter Entity List's. 

Currently am developing a Portal for the company I work for and we are generating links to pages based off data in the CDS. The basic idea is creating a portal for users to check information of Projects they have with us and to make things simple, we're rendering pages based on query strings to save them having to login to our portal. The user won't be logged in and will get a url sent to them that filters data based on the parameters given.

 

While there's no issue with rendering a page for a specific record with a form, we're using a subgrid within the form to show data from a related entity and as such, we can't use Metadata filters for this subgrid. I was hoping to use an Entity list instead to make use of the Metadata filter, but when rendering the list, it's displaying all records from the entity and I can't find a way to filter the list to the ID parameter in the query string. 

Is there a method around this? Thanks in advanced for any info. 

 

 

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

    Hi @ZakXrm ,

     

    As far as I know, there is no possibility to apply filters based on the URL parameters for an entity list. Instead, I would advise you to use a different approach - create a web page that will act as your web API and query necessary data with javascript and then render a table using some library like datatables. You can find more about this approach and how to implement it in these posts (first and second) from Colin Vermander.

  • Zobxrm Profile Picture
    6 on at

    Hey, thanks for the suggestion! I played around with this a little bit but couldn't really see how the base functionality changes all that much from what a subgrid list would provide, as we can't enable a Metadata filter and quickly checking through Datatables Api, I don't know if they offer something similar, unless I missed something. May just need to look into other libraries for this specific case. 

  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    You don't need to filter it in datatables (however you can if you want to as you can apply default search). You can provide a filter parameter to your fetchxml query and receive already filtered results.

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