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 / 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:
I have the same question (0)
  • Hugo Bernier Profile Picture
    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

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

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard