Forum Discussion
tibork
Mar 20, 2019Copper Contributor
How To Hide a field in modern sharepoint list "edit form"?
Hello Everyone, I would like to hide multiple fields in a modern SharePoint edit form (and currently I don't want to use PowerApps customizations) https://*tenantname*.sharepoint.com/sites/*s...
- Mar 20, 2019My understanding is that PowerApps customisation is the only out the box way.
Robin Nilsson
Mar 20, 2019Bronze Contributor
tibork You can hide fields on selected forms through PowerShell. I've done it once and it seemed to work well. Here's a document that shows some sample code https://social.technet.microsoft.com/Forums/lync/en-US/ea664c9a-7bbb-4c18-846a-8b6a6989f14d/hide-column-in-newform-editform-using-powershell?forum=sharepointadmin
Each field has a .ShowInEditForm and .ShowInNewForm and .ShowInViewForm property that you can get to.
Aytac81
Nov 04, 2019Copper Contributor
Hi Robin,
this method breaks with the modern UI, after setting one of these properties to true, the modern Edit/new form won´t open anymore... clicking on new will open the classic new form instead.
this method breaks with the modern UI, after setting one of these properties to true, the modern Edit/new form won´t open anymore... clicking on new will open the classic new form instead.