Forum Discussion
PnP powershell > Howto create or edit a managed property?
- Nov 27, 2017
If I remember correctly, SharePoint will import only changes from the default schema. You can verify easily this behavior. I've used this technique several times with no issues so I suggest you to use the supported method rather than a custom script.
Franck Cornu Hmmm, that is just what I wanted to do, update the xml...
There is no way to do that?
- Mike JansenNov 27, 2017Iron Contributor
If I would like to add one managed property I prefer not to export and import all managed search settings but only the one that is changed. Or does the import some kind of check? If an item exist, than skip the import of the item?
Edit: I found this one: https://gallery.technet.microsoft.com/office/Powershell-script-to-250c5aa6
Haven't test it yet but I'll give it a try
- Franck CornuNov 27, 2017Brass Contributor
If I remember correctly, SharePoint will import only changes from the default schema. You can verify easily this behavior. I've used this technique several times with no issues so I suggest you to use the supported method rather than a custom script.
- ravick4u @hotmail.comOct 05, 2018Copper Contributor
Before we run this command which site collection we need to connect. I would like to export all managed property which I have created in Admin Site.
Did not received managed property when I am running this command against SharePoint admin sites as well as other sites.