Forum Discussion
How do I permanently delete an event category from a Sharepoint site?
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:
However, it still shows!
Does anybody know how I can get rid of it? Thank you in advance!
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
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
- ruthmofCopper ContributorHi 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!!!
- Rachael390Copper Contributor
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