Open hosoistreet opened 6 years ago
@hosoistreet there's a simlilar thread on the provisioning schema repo, which may help.
https://github.com/SharePoint/PnP-Provisioning-Schema/issues/49#issuecomment-272532305
@phillipharding Thanks Philip, that's the same issue however we need to be able to fix the fields as they exist in a production environment. Creating new fields and copying the data across is not an option. Probably more a question for Microsoft, to see if they are able to fix corrupted metadata fields that do not get picked up in crawls.
Category
[X] Bug [ ] Enhancement
Environment
[X] Office 365 / SharePoint Online [ ] SharePoint 2016 [ ] SharePoint 2013
Expected or Desired Behavior
We have deployed several managed metadata fields via XML pnp provisioning script. After deploying the managed metadata field, uploading content into the field, checking in the content and publishing and finally running the search re-index, we should be able to run search queries using the ContosoOwningFunction_Note generated managed property. (This is equivalent to the owstaxid... managed property, its just called something different within our XML.
Observed Behavior
The managed metadata field is deployed with no errors.
The field value can be set ok on content and we can search on items using the taxonomy field but we are unable to perform queries against the note field. No ContosoOwningFunction_Note managed property is generated after reindex\crawl. Furthermore no crawled property has been generated either for this note field.
These are important as allow use of TERM GUIDs in queries.
Steps to Reproduce
Create a managed metadata field using the following code. This creates the note field and a corresponding taxonomy field.
Using SharePointPnPPowerShellOnline 3.0.1808.1
`