Forum Discussion

Tyler Bankston's avatar
Tyler Bankston
Copper Contributor
Dec 13, 2017

Communication Site - Highlighted Content > Pages > Managed Property Empty

We are building a communication site and using the Highlighted Content web part. We have built our own content type of "HP Site Page" with the Site Page parent. We have created 2 custom columns called "BB Category" and "BB Publish". When we dig into configuring the Highlighted Content web part no Managed Property Names surface.

 

We have been able to get these custom columns to surface when using a document library, just not pages. Is this a feature that will be released or are we missing something?

 

Sharepoint online newbie so please let me know if there is any additional information that would be helpful here.

 

Thank you in advance.

  • JHerschel's avatar
    JHerschel
    Iron Contributor

    The Site Columns you created, can they be choice? or do they NEED to be managed metadata.  I am not seeing them as well in my dropdown, probably need for search index to complete...thanks

    • Susan_Hanley's avatar
      Susan_Hanley
      MVP

      If you make them Choice columns, you will need to map them to an existing managed property. If you use managed metadata, you won't need to do that.

      • JHerschel's avatar
        JHerschel
        Iron Contributor

        Thanks.  I must be missing something...

         

        I created a 1) Site Choice Column, 2) a Site Managed Metadata column, as well as a 3) choice column to the Site Pages list and I have a grayed out Managed Property Name (same as Tyler Bankston) when I tried to filter by Managed Property in the Highlighted Content webpart.  I waited 6 hours, so I don't think its due to the site not being crawled/indexed...

        If I go to Site Settings > Site Collection Admin > Search Schema, I cannot find the any of the columns I created to 'map them to an available managed property in the search schema'.

        I also did the following:

        • add values to those columns in the Site Pages
        • went into the List Settings > advanced settings > re-index this list
        • The pages are published
        • I am a site collection administrator

        Do I need to use new content types?  Can I just use the Page Content type?

        I followed the ppt slide pages 41-44 to try to map any of the columns I created, but cannot see them when I go to the Search Schema page. 

         

         

  • In order to see your custom properties, you first need to map them to an available managed property in the search schema. Once you do that, you can use that mapped property (for example, RefinableString01 that you map to BB Category) in your Highlighted Content web part. Don't forget that you have to wait for the search index to run for all the magic to happen!

    • Paul Chapman's avatar
      Paul Chapman
      Iron Contributor

      Hello Susan,

       

      I'm trying to display Highlighted Content using a managed property mapped to a Site Column, as it seems Tyler was, but I've not got it working, you seemed like someone who may have the answer!

       

      I've mapped my custom property (a new site column added to a new content type based on Page) to RefinableString10. That was 2 days ago and I still can't Find a managed property of that name in the HC web part. There are quite a few longstanding Refinable custom properties that we use (successfully) in our tenant, and they don't show up either (basically, typing 'Refinable' into 'Find a managed property' returns nothing, typing 'User' in returns several options). Is there an extra step I need to take when mapping custom properties to make them show up in this webpart?

       

      Sorry, went a bit overboard on the italics there.

       

      Any help appreciated, from anyone,

       

      Paul

      • Susan_Hanley's avatar
        Susan_Hanley
        MVP
        Have you added data in your library that uses the column? The index doesn’t seem to pick up the attribute until it has actually been used on the site. Try adding some values in your library and then re-index. The attributes should show up.
    • Tyler Bankston's avatar
      Tyler Bankston
      Copper Contributor

      Susan,

       

      Thank you for your reply! Seems like it was just a matter of waiting for the indexing to be crawled again and everything showed up. Guess we were being a little too impatient :)

       

      Thanks for both of your help, it's much appreciated.

    • Tyler Bankston's avatar
      Tyler Bankston
      Copper Contributor

      Thanks for replying Juan.

       

      We thought so...Is there somewhere to specifically create managed properties or are they created from the custom columns? Please forgive my lack of knowledge here.

       

       

      When we added custom columns to a document library they appeared in the managed properties. We followed the exact same process with custom columns for pages with nothing appearing in the selector.

       



      This is the process we followed:

      1. Create custom Content Type that inherits from Site Pages.

      2. Add all custom columns as Site Columns.

      3. Add the Content Type to the Site Pages library and make it the default.

      4. After adding new pages, update the page metadata using Quick Edit or the information panel on each page. 

Resources