question

Hduong1-5163 avatar image
0 Votes"
Hduong1-5163 asked MichaelHan-MSFT answered

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

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.

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered

Hi @Hduong1-5163,

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.