Forum Discussion

imran7799's avatar
imran7799
Copper Contributor
Jun 19, 2020

Missing automatically created managed property for custom choice column

Hi There,

In one of my tenant I am missing automatically created managed property (for e.g. SiteColumnNameOWSCHCS) in SharePoint Online for one my my custom choice column. The column has data and has been crawled and I can find it in crawled properties. If I map to one of the RefinableString properties I can access and display it's values in Search Result as well.

 

However, My issue is that I have a webpart that depends on the automatically created property because it's name has been hard coded in the webpart. 

Is there a way to force SharePoint online to create this missing property.

 

https://docs.microsoft.com/en-us/sharepoint/technical-reference/automatically-created-managed-properties-in-sharepoint?source=docs

  • Patricia_nl's avatar
    Patricia_nl
    Brass Contributor
    I have the same issue; a custom choice column which isn't available to map with the refinablestring
    • ganeshsanap's avatar
      ganeshsanap
      MVP

      Patricia_nl imran7799 

       

      Where did you create the column exactly, at SharePoint "list" level or "site" level (site column)?

       

      When you create a site column, managed property will be created automatically but when you create a list column, you have to create the managed property manually.

       

      Check:

      1. Manage the search schema in SharePoint 
      2. How Do Site Columns Become Managed Properties - Thus Available for Search 

      Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

      • Patricia_nl's avatar
        Patricia_nl
        Brass Contributor

        Hi, thanks for your reaction. I created the column in the content gallery. Because I want to use it all across the tenant. When I look up the fieldname in the library, the url ends in: Type_x0020_document

         

        When I look up the managed property I don't find that exact fieldname. I do know that there should be a ows prefix, but it is'nt there. It's been over a week now. What I do find is: Typedocument

        That field is greyed out, don't know what that means. I don't think this is the right field.

        Do I have to do this again on site level?

Resources