Hiding a column in a SharePoint list had never been a big thing. You get the option to manage the content type and make the columns required, optional or hidden. Pretty simple, huh!
But have you ever tried this for a calendar list. Because it’s this calendar list that gave me the reason for this post.
I got this requirement in a calendar list to hide the start time, end time, all day event and workspace columns. On checking the columns in the event content type of a Calendar list, I found that there are two categories of site columns – one set that appears as link and the other set which appears as plain text.
The columns that are links, for them appearance could be changed easily by making the column setting as hidden/optional/required.
However, there was no such option for columns such as Recurrence, All Day Event and Workspace. So how do we hide such columns, since I didn’t want any of it to be visible on my forms.
In the calendar tab, go to the form web parts and modify the “Default New Form” web part.
Stop editing and add a new item. There you go, you can see the change that the two columns have vanished.
Now this change was done in just the Default New Form web part. To see the change in Display and Edit form as well, you need to repeat the same set of steps for their respective default web parts.
You can notice that the columns are hidden now in all forms i.e. New, Edit and Display.