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 / Calendar filter throug...
Power Pages
Unanswered

Calendar filter through query string

(0) ShareShare
ReportReport
Posted on by 66

Hi,

 

I am showing calendar on web page using entity list. Currently all records are shown and i want to filter those records based on query string passed in url.

 

For e.g i am passing course id as guid in url. Now i want to include this course id guid on entity list filter so that only specific course schedule is shown.

 

Thanks

Categories:
I have the same question (0)
  • jeffgreenrc Profile Picture
    66 on at

    Anyone please?

     

    Any suggestion or pointers will be useful.


    Thank you

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hi, I wrote an article on how to inject values to entity list metadata filter: http://oliverrodrigues365.com/2021/03/02/power-apps-portals-loading-large-data-in-entity-lists/

    I haven't tried with Calendar entity list but it should work

  • jeffgreenrc Profile Picture
    66 on at

    I had already implemented it and it was not working. Can you please confirm at your end too?

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    sorry I got confused, did you implement the same technique from my article and it was working originally, but now it isn't.. is that the case?

    what is happening? is it not adding the value to your filter?

  • jeffgreenrc Profile Picture
    66 on at

    Its not working at all. It didnt filter for me what i wanted.

  • jeffgreenrc Profile Picture
    66 on at

    Also just fyi, i want to filter lookup field and i am passing this lookup field value as guid in URL

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Works for me with a Dynamic Lookup filter as well, in the URL, I am passing the GUID in curly brackets, 

    OliverRodrigues_1-1620762324014.png

     

    can you try that? if it still doesn't work, can you share some snapshots of your Entity List metadata filter + URL that you are passing?

  • jeffgreenrc Profile Picture
    66 on at

    Thank you for looking into this and giving me e.g.

     

    Can you please try this on calendar view?

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hi Jeff, I've been playing around here, and it seems the Calendar works quite different than a regular entity list.

     

    The main problem I guess is not that it's not filtering by the query string, the problem is that it doesn't even have any metadata filter option for calendar view. I was playing around with Liquid, but unfortunately it also doesn't work with Liquid entitylist object, only legacy rewrite Page Templates, quite annoying.

     

    I found this article from Colin Vermander that has a custom implementation rendering a Calendar view: Dynamics 365 portals: Implement FullCalendar with Liquid – Colin Vermander (wordpress.com)

    This might help, but it would be a lot of work

     

    You can also apply JS and remove elements that are not from that GUID from the query string, also might be a bit of work, but doable 

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