Forum Discussion
Using custom properties in Modern Site pages
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
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 GordonNov 26, 2018Copper 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 :(.
- Sam ChurchillNov 27, 2018Copper Contributor
Hi Rebecca,
Yes, I did, after lots of painful sessions on the phone with MS showing the problem again and again.
It turned out that the Site Page content type was "sealed" so no additional properties were being added to that type. You can unseal it using the script at https://gallery.technet.microsoft.com/Unseal-sealed-content-654ac401 then you'll have to recreate all of your additional properties (or get them applied to the Site Page content type).
Be aware that, if you add a "yes/no" column it can't be used for filtering in the highlighted content webpart. Apparently this is "by design", but it seems a very strange design to me, so I've added it to UserVoice at https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/36117193-allow-yes-no-columns-to-be-used-for-filtering-si.
Sam
- Rebecca GordonFeb 10, 2019Copper Contributor
Thanks Sam! I'll give this a go :D
- AnonymousOct 15, 2018Unfortunately I think you are in Microsoft Support territory if you aren't able to get that far with the instructions :-(