SOLVED

How do I permanently delete an event category from a Sharepoint site?

Copper Contributor

I'm building a SharePoint website with an event calendar. I deleted one of the categories from the calendar settings. Nevertheless, I cannot manage for it to disappear from the category drop-down list both in the events filter and "Add event" form, though no calendar widgets and no existing event entries have this category assigned:

 

2024-01-29 13_11_28-Change Column.png

 

However, it still shows!

2024-01-29 13_09_58-Events.png

 

2024-01-29 13_13_41-Event.png

 

Does anybody know how I can get rid of it? Thank you in advance!

4 Replies
best response confirmed by ruthmof (Copper Contributor)
Solution

Hello @ruthmof 

 

the category entry still exist, until there is no entry for this category. 

 

I have checked this and i can reproduced, after i delete all items with my deleted category, the the entry will disappear.

 

Check the categories in the allitems view, it's a default view with a good overview:

https://<TENANT>.sharepoint.com/sites/<SITE>/<LIST>/AllItems.aspx 

 

Best, Dave

Hi David, BINGO! From the "Allitems.aspx" view, which I was unaware of, I spotted one entry which still had this category. I've removed it and it's finally gone. Thank you!!!

@David Mehr 

 

Hi David,

 

Please may you advise how I can find all items, I'm having issues with calendar categories that I think your solution below will resolve but I cannot find the way to viewing all items - I tried using your code below but I don;t know what is meant by TENANT and what I should replace this for.

 

Many thanks,

 

Rachael

Hello @Rachael390 

 

you can derive it from the url, Tenant is your M365 environment, all before .sharepoint.com .

 

Best, Dave

1 best response

Accepted Solutions
best response confirmed by ruthmof (Copper Contributor)
Solution

Hello @ruthmof 

 

the category entry still exist, until there is no entry for this category. 

 

I have checked this and i can reproduced, after i delete all items with my deleted category, the the entry will disappear.

 

Check the categories in the allitems view, it's a default view with a good overview:

https://<TENANT>.sharepoint.com/sites/<SITE>/<LIST>/AllItems.aspx 

 

Best, Dave

View solution in original post