Forum Discussion
Events web part - show categories
I am creating a hub for several lists and was thinking to show the reporting deadlines for each list as events. I am repurposing the category field to identify the list name for each event entry. Unfortunately, I can't seem to include category as a visible field in my events web part.
I see the date, title and duration details.
Because I work in a small environment, some people will be handling several lists; I have applied audience targeting to ensure people only see events of relevance but they still need to be able to distinguish between the deadlines.
7 Replies
NSmith1080 The Events web part shows the Category when you are using the Filmstrip view - but not in the compact view. You do not have to create a new Events list to do this. You can, as you have probably figured out, update the default Category values for the Events list on one or more sites. (To do this, go to the List settings and scroll down to the Category column.) If you use a consistent list of Category values across multiple sites, you can use that category to filter the Events web part and then either use the Filmstrip view (which shows the Category) or use multiple instances of the Events web part to show different categories in different web parts. If you are rolling up from multiple sites, the Filmstrip view will show both the Category AND the name of the source site.
- NSmith1080Copper Contributor
Many thanks, SusanHanley
- RobElliottSilver Contributor
NSmith1080 these days I really hate the classic experience and rarely use it, but you can display the category by creating an events list in classic and then use it in the modern experience. So it's a sort of hybrid. Here's how.
- In the bottom left of your Site Contents page click on Return to Classic SharePoint.
- Add an app and select the Calendar app.
- Exit the classic experience.
- After a few seconds your events list will appear in the site contents. Double click on it to open it and click the Calendar tab at the top.
- Select List Settings and in the list of columns click the Category column and delete the categories you don't want - probably all the default ones - and add the categories you do want and save.
Now you can add the events web part to a page on your site and add events selecting the categories you just added. The category appears on the web part below the date of the event.
Hope that helps.
Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)- HaraldFMCopper Contributor
RobElliott Hi, is it also possible to remove the categories field entirely?
- NSmith1080Copper ContributorMany thanks.
- Joao LivioIron ContributorHi,
"I can't seem to include category as a visible field in my events web part."
Share some code, this can be anything- NSmith1080Copper ContributorSorry, I pre-date coding skills.