Document Converter in SharePoint Subscription Edition and the stsadm command
Document Converter in SharePoint Subscription Edition and the stsadm command
Wherever possible the Document Converter for SharePoint On-Premises uses a SharePoint User Interface for specifying settings. However, some settings are so infrequently used that creating special screens for them just leads to confusion.
Instead we provide a number of ‘ stsadm’ commands to tweak these settings. Usually, these configurations are set by using the stsadm.exe command line tool included with SharePoint. For example:
stsadm.exe -o setproperty -pn Muhimbi.SharePoint.DocumentConverter.PDF.SkipMetaDataFieldNames -pv Title;User
Although the stsadm command line tool is not available in SharePoint Subscription Edition, there is an equivalent PowerShell script at our disposal.
The
stsadm -o setproperty -pn <property name> -pv <property value>
command can be substituted with the following PowerShell script
Add-PSSnapin Microsoft.SharePoint.PowerShell$Farm = Get-SPFarm$Farm.Properties["<property name>"] = "<property value>"$Farm.Update()$Farm.DisposeThe Update command is very important, otherwise the changes will not be stored.
If you are interested to learn more about available settings, you can read more in this post.