none
Managed properties in grey (like disable)

    Question

  • Hi all,

    First of all happy new year to everybody!

    I'm having issues with SharePoint Online...as background I'm deploying some content types to the content type hub and publishing all of them, it works like a charm. Then I create some items based on those content types and then I created some display templates in order to show some type of results. The problem is that SharePoint (in theory) should create the managed properties automatically but they are created and appeared in grey, like disable properties. I'm using SP Search Query Tool and I can retrieve the properties and they are populated but they are not retrieved by the display templates unfortunately.

    

    Any ideas why they are in grey and why they are not retrieved in the display templates?

    Thanks in advances,

    Victor


    victor_depor@hotmail.com

    Tuesday, January 3, 2017 2:04 PM

All replies

  • Hi Victor,

    Gray colour just for identification for those are created by SharePoint automatically if you want to use that managed property then you have to edit that property and select whatever you want (searchable, retrievable, queriable and etc..). Note :Edit option available only under site collection --> search Schema

    https://<<root_site_col_url>>/_layouts/15/listmanagedproperties.aspx?level=sitecol

    better you can create a new managed property with meaning full name.


    Please mark the "replies as answers" and "Vote as Helpful" if you find it helpful. https://ravichandran.blog | https://www.facebook.com/sptechnet2016

    Tuesday, January 3, 2017 2:36 PM
  • Hi RavichandranK,

    Sorry but I think that's not correct at all. There are other custom properties that have been created automatically by SharePoint Online and are in blue and I'm able to get them as a display template properties so I don't see the reason why some custom properties are in blue and others in grey.

    I have modified the property as you said to be searchable, retrievable and queriable and the display template still doesn't get it :(


    victor_depor@hotmail.com

    Tuesday, January 3, 2017 3:12 PM
  • Hi Victor,

    Once you add "Mapped Crawled Properties" into the managed property then it's turned grey to blue. it means search service started to take a process that managed property. If you did not map any crawled property into the managed property then search service simply ignore that managed property so it's grey colour until you add crawled property.

    also whatever changes you did in the managed property, you have up to wait 24 hours for taking effect.

    Hope you understand now. Still, I recommend creating your own managed property instead of automatic one. 


    Please mark the "replies as answers" and "Vote as Helpful" if you find it helpful. https://ravichandran.blog | https://www.facebook.com/sptechnet

    Tuesday, January 3, 2017 3:46 PM
  • Well, I'm not 100% agree with that explanation. I have seen by my own that some properties are created automatically, maybe SharePoint Online has changed? Because I'm 100% that I have seen managed properties created automatically by SharePoint and in blue and with crawled properties attached.

    victor_depor@hotmail.com

    Tuesday, January 3, 2017 4:00 PM
  • Hi Victor,

    The managed properties would be greyed out if the data type that is stored in the managed property is different from the type that is stored in the crawled property.

    A workaround for this issue is that creating a new managed property that mapped to that crawled property.

    Note: In SharePoint Online, when you create a new managed property, it will have some limitations. For example, the property can only be of type Text or Yes/No, and it can't be refinable or sortable.

    If you need a property of a different type, or one that has different characteristics than what is available, follow the steps under Create a managed property by renaming an existing one in the following article.

    https://support.office.com/en-us/article/Manage-the-search-schema-in-SharePoint-Online-d4fab46d-ba41-4c03-9d4c-32b5b33198b6

    Best Regards,

    Linda Zhang


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Wednesday, January 4, 2017 6:57 AM