Forum Discussion

Sam Churchill's avatar
Sam Churchill
Copper Contributor
Oct 07, 2018

Using custom properties in Modern Site pages

Hi all,

 

I was very excited to see the recent(ish) announcement that MS had released the ability to add meta data (properties) to Modern Site Pages and then allow you to filter by this in the highlighted content webpart, but I've been having problems actually using it.

 

I followed the instructions at https://support.office.com/en-gb/article/view-edit-and-add-page-properties-778018d3-8269-4fd2-a55d-8c0e5b72b938?ui=en-US&rs=en-GB&ad=GB to add a property but I'm not able to see it in the places where it's telling me it'll be displayed including the page properties panel and the options within the highlighted content webpart.  On closer inspection it appears that the new properties aren't being added to the "Site Page" content type, only the other available content types including wiki pages etc.

 

Does anyone have any advice of how to get this working?  I've tried on several different tenants (as it's needed everywhere) but it's not working on any of them.

 

Thanks,

 

Sam

8 Replies

  • Anonymous's avatar
    Anonymous

    Hi Sam, not resolving your issue but adding additional details.

     

    I had a multi-month support ticket with Microsoft when it came to creating views and surfacing them as document library web parts for modern pages. They views would constantly surface errors in the form of a dropped ice cream cone or broken bicycle with little help. I'm not surprised that the highlighted content web part isn't work for you since it is not as powerful as the Content Query Web Part (CQWP) of previous SharePoints.

     

    Are you able to pull using a classic page and a CQWP to make sure the data is at least pulling correctly? Not resolving your issue but at least would confirm you have set up your site page columns correctly

    • Sam Churchill's avatar
      Sam Churchill
      Copper Contributor

      Hi Ryan,

       

      Thanks for your reply.  My problem is actually before you even get to looking at the Highlighted Content webpart - as I couldn't enter any data to the columns I added, I never bothered looking at the webpart.

       

      Having now looked, the columns that I've added aren't showing in the webpart's list of possible properties to filter by either.  I can't help but think it's got to be because the columns I'm adding aren't being associated with the Site Page content type, but I am following the instructions exactly.

       

      Sam

      • Rebecca Gordon's avatar
        Rebecca Gordon
        Copper Contributor

        Did you ever get this resolved? I'm having the same issue on my tenant.

         

        It's a classic site collection using the modern UI. I added a bunch of columns to all content types in the pages library and they don't show anywhere on the front end, not in the properties pane, not in the page details area, not in the page properties web part :(.

         

Resources