0

I have a calendar list on SP Online, add by default it includes several fields that I don't need (Location, Description, category, recurrence, All day event). I would like to remove those unwanted fields. Apparently the "proper" way to edit forms in SP Online is to use the Power Apps feature, however this is not available to calendar lists. I also tried to create a custom form using SP Designer, but that feature was disabled.

So unless there is a workaround, it seems that I am stuck with these unwanted fields if I am using a calendar list. If I use a regular list with a calendar view, then I am unable to use calendar overlays (which is something I really need).

1 Answer 1

1

You could use PowerShell to hide fields in the new form.

#Config Variables
$SiteURL = "https://Crescent.sharepoint.com/sites/marketing"
$ListName = "Projects"
$FieldName =  "Status"
 
#Connect to PnP Online
Connect-PnPOnline -Url $SiteURL -Credentials (Get-Credential)
 
#Get the Field
$Field = Get-PnPField -List $ListName | Where {$_.Title -eq $FieldName}
 
#Hide the field from New Form
$Field.SetShowInNewForm($False)
#$Field.SetShowInEditForm($True)
Invoke-PnPQuery

Reference: https://www.sharepointdiary.com/2016/04/sharepoint-online-hide-column-using-powershell.html

1
  • I’m checking how the things are going on about this issue. Whether the answer helps you? If there is any problem with this issue, feel free to let me know. May 10, 2022 at 2:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.