1
How to hide fields from the Sharepoint 2013 user list? I need to hide fields in the display mode on the userdisp.aspx page
1
How to hide fields from the Sharepoint 2013 user list? I need to hide fields in the display mode on the userdisp.aspx page
1
If you want to hide fields from a Create/Edit/Exib form, you can edit the content of it by SharePoint Designer
.
Or, via PowerShell
, as the colleague there said, you can use the command .ShowInDisplayForm/.ShowInEditForm
putting as 'false'
or 'true'
for each specific field.
1
Thanks Tiago found the solution using Sharepoint Power Shell, see below the code:
$site = SPSite("http://www.seusite")
$web = $site.RootWeb
$spList = $web.SiteUserInfoList
$field = $spList.Fields["DataNascimento"]
$field.ShowInDisplayForm = $true
$field.ShowInEditForm = $true
$field.Update($true)
$spList.Update()
$web.dispose()
$site.dispose()
Browser other questions tagged powershell
You are not signed in. Login or sign up in order to post.
Could give more details, with screen print, etc?
– Tiago César Oliveira