Thursday, 10 May 2018

Parser Enabled for Document Property + SharePoint 2013


Property promotion refers to the process of extracting values from properties of a document and writing those values to corresponding columns on the list or document library where the document is stored. Property demotion is the same process in reverse. Values are read from list columns and written to document properties.
Document promotion is used to pull the document metadata from Word 2013 documents when uploading the document to the SharePoint document library and set those metadata values to the corresponding field.


Disable Document Property Promotion using PowerShell
$web = Get-SPWeb "http://test/sites/test_1/"
$web.ParserEnabled = $false
$web.Update()
$web.Dispose()

Enable Document Property Promotion using PowerShell
$web = Get-SPWeb "http://test/sites/test_1/"
$web.ParserEnabled = $True
$web.Update()
$web.Dispose()

No comments:

Post a Comment