Forum Discussion
Event Web Part Current Event
Is it possible to display only the current items from an Event List using the Event web part in Sharepoint.
I don't have any problem displaying "This Week" or any of the other choices, but I really only want to see the entries schedule for today or where the current date/time falls between the Start date/time and the End date/time.
I wouldn't even mind basing what displays off of a specific view filtered to only show today.
Showing "Current" or "Today" seems like a logical need.
To recap: I'd like to use the Event web part to display only current events or events happening today.
Thanks
5 Replies
Hello PASinATX
the standard web part does not contains this view: https://support.microsoft.com/en-us/office/use-the-events-web-part-5fe4da93-5fa9-4695-b1ee-b0ae4c981909
Alternative solutions are:
- Use an custom list for your events. You need to use view formatting, to format your list like a events web part but you can filter "today's" events
- Use an highlighted content web part to filter today's events from the default events list (i'm not happy with the visualisation of the events)
- Use PnP Modern Search web parts to filter today's events from the default events list and customize the visualization of your events search results https://microsoft-search.github.io/pnp-modern-search/
...or evaluate a third party solution with all your requirements...
Hope this helps.
Regards, Dave
- PASinATXCopper Contributor
Thanks David.
I'll see if I can figure out your alternative solutions.
I know how to use the Highlighted Content web part but I'll have to learn how to write the KQL code to pull back Today or Now or Current.
p
Hello PASinATX
you can do it like this:
contenttype:Event LastModifiedTime:Today
Here are more information about kql queries with date:
Regards, Dave