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 / metadata filter missle...
Power Pages
Answered

metadata filter missleading after changing view of entitylist

(0) ShareShare
ReportReport
Posted on by

Dear developers,

 

we noticed that there is missleading behavior, when changing the view of an entitylist:

-the filters will reset, but remain selected

 

nerdifand_0-1661180357436.png

 

anyone experiencing the same issue?

how to solve this?

can we hook into a viewselection event? 

this event

 

 

$(".entitylist.entity-grid").on("loaded", function () {

 

 

will not work because it will introduce even more confusion.

 

be blessed

Ferdi

Categories:
  • Hugo Bernier Profile Picture
    Microsoft Employee on at

    Hi @nerdifand would you mind providing a little bit more information on this issue? I can't quite understand the question and, by the number of views/lack of response, it seems like members from our community need a little more be to able to help.

     

    Thanks for your understanding

  • Verified answer
    nerdifand Profile Picture
    on at

    Dear Developers,

     

    after the microsoft-support added this issue to their tasks to fix, we can now safely assume that this behavior is by design, however a design that is not thought to the end?

     

    with some distance to the topic i was now able to implement a workaround:

     

    $(document).ready(function () {
     $(".entitylist.entity-grid").on("loaded", function () {
    
     console.log($('#filterDropdownId > ul > li > a'));
     $('#filterDropdownId > ul > li > a').each(function (i, e) {
     console.log("registering onclick for view");
     $(this).on("click", function () {
     console.log("view clicked");
     global.need2reapply = true;
     });
     });
    
    if (global.need2reapply) {
     global.need2reapply = false;
     console.log("reaplying filter");
     $('.btn-entitylist-filter-submit').click();
     }
    
     });
    });

     

     

    hope i could help!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
M Bilal Khan Profile Picture

M Bilal Khan 110

#2
sannavajjala87 Profile Picture

sannavajjala87 30 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 30

Last 30 days Overall leaderboard