1

Is there any specific managed metadata property for the below "Author" field which is displayed under Modern Site Page "Title" area.

enter image description here

We have a custom search(SPFX PnP Search ) where we are showing that author field value on Document Card control.

enter image description here

We have configured the managemetadata as "Author" but "search" is showing "Created By" value[My name] instead of showing the name which we mentioned in the Author's field under Title area.

I have re-indexed the site many times,still it is showing created by value only. Please help me on this.

1 Answer 1

1

The Author in the Modern site page is stored in a hidden field _AuthorByline. This field is not mapped to a managed property by default:

enter image description here

You can map the _AuthorByline crawled property to a RefinableString100, for example like so:

enter image description here

I would also add an alias for the RefinableString100 managed property:

enter image description here

Note: You can use any of the pre-created managed properties starting from RefinableString001. RefinableString100 was used for an example.

1
  • 1
    Thank you for the response Denis!!! Actually, the exact reason why the mentioned user name is not showing in search results is .On the page the "Author Byline" is getting changed. But in "Site Pages" library for that specific list item when I checked the "Author Byline" column was empty. I manually updated that column in the library,then mentioned user name got updated in search results.
    – Swetha
    Commented Mar 17, 2021 at 12:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.