private775 icon

SP: Enable Document Id

private775 | PRO | 05/16/17 01:42:29 PM UTC | 0 ⭐ | 664 👁️ | Never ⏰ | []
PowerShell |

590 B

|

None

|

0 👍

/

0 👎

# We opened a case with Microsoft and finally fixed this same issue using this:
# Verify if web application / site has document ID enabled
 
$web=get-spweb URL
 
$web.properties
 
# How to fix if documentID_enabled is set to 0:
 
$web=get-spweb URL
 
$web.properties[“docid_enabled”]=”1”
 
$web.properties.update()
 
# https://serverfault.com/questions/208829/unable-to-see-document-ids-in-a-sharepoint-2010-site-collection
 
$s = get-spsite http://team/workgroups/DEMO
$s.AllWebs|%{$_.properties['docid_enabled']='1'; $_.properties.Update()}
$s.AllWebs|%{$_.properties['docid_enabled']}

Comments