PnP Modern Search's Managed Property Content/Description Field Not Displaying in Profile Card View

Hduong1 1 Reputation point
2021-05-14T06:25:56.137+00:00

I am having trouble rendering the description/content managed property called RefinableString02 in the pnp-modern-search's Search-Parts web part.

My solution was to add a custom web component below and adding it to the handlebar edit code section in the UI, but the description/contents still not showing.

<document-card-content-component
data-description="{{RefinableString02}}"
data-content-string-param="Test value"
data-content-object-param="{{JSONstringify this 2}}"
>
</document-card-content-component>
References: https://github.com/microsoft-search/pnp-modern-search/blob/main/docs/extensibility/custom_web_component.md

Other solutions are appreciated.

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

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,126 Reputation points
    2021-05-17T09:45:26.157+00:00

    Hi @Hduong1 ,

    I would suggest you submit this issue in github: https://github.com/microsoft-search/pnp-modern-search/issues . You would get more help there.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.