Page properties web part only shows Title

DGlasbrook 96 Reputation points
2021-11-15T11:25:42.513+00:00

When adding a Page properties web part to a modern SharePoint Online page, the only property that is available in the dropdown list is Title - what do I need to do to add other page properties to the web part?

149377-image.png

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,595 questions
0 comments No comments
{count} votes

Accepted answer
  1. DGlasbrook 96 Reputation points
    2021-11-26T17:21:08.987+00:00

    We've fixed this now - we needed to unseal the Site Page content type by running this powershell script for each subsite:

    Connect-PNPOnline <SubsiteURL> -UseWebLogin
    $contenttype = Get-PNPContentType -List <ListID> -Identity "Site Page"
    $contenttype.Sealed =$false
    $ contenttype.Update($False)
    Invoke-PnPQuery

    Note: Only use the -UseWebLogin if you have MFA enabled for your tenant otherwise remove it from the cmdlet.


2 additional answers

Sort by: Most helpful
  1. CaseyYang-MSFT 10,321 Reputation points
    2021-11-16T01:53:15.703+00:00

    Hi @DGlasbrook ,

    You could add custom page properties in Site Pages library.

    Site Pages library > Library settings > Columns > Create column or Add from existing site columns

    149601-2.png

    My test result:

    Before: 149611-1.png After: 149583-3.png

    Page properties web part:

    149602-4.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. DGlasbrook 96 Reputation points
    2021-11-22T09:32:55.777+00:00

    Hi
    There's no progress, but I have a support ticket open, so I'm hoping to get some ideas from that - i'll put an update on here when I get any progress.
    David