microsoft-search / pnp-modern-search

Home of PnP Modern Search solutions, helping you move from classic to modern SharePoint and beyond
https://microsoft-search.github.io/pnp-modern-search
Other
388 stars 341 forks source link

Rich text from a SharePoint list column will not be reflected as rich text within the panel content section #4083

Closed jbmueller0584 closed 2 weeks ago

jbmueller0584 commented 2 weeks ago

Hi guys,

i do need help with this issue that i am having. Any help is highly appreciated!

I have a multiple lines of text column (set to rich text) in a SharePoint list. Here we added rich text in terms of underlined words and bullet point lists etc.

2024-11-05 17_32_52-Escalation cases - Diverse Störungen, die zu Linienstillständen führen können un

The list column ist mapped with the managed property RefinableString171. I cant see any HTML formatting in the value of the managed property in the debug view, just some spaces.

2024-11-05 17_40_39-Escalation Cases und 26 weitere Seiten - JBM – Microsoft​ Edge

When i now want to display the value of that column / managed property within the panel to the right, rich text wont be reflected, and further more formatted as complete plain text.

2024-11-05 17_36_55-Escalation Cases und 26 weitere Seiten - JBM – Microsoft​ Edge

I am using a custom HTML template and tried to display with this manner {{{ }}} and also this manner {{ }}

2024-11-05 18_05_17-eska-result-template-de html - Visual Studio Code

Can you guys please help me out why the rich text is cutted down hardly to plain text? I saw in the past somewhere that it will work with rich text in general, but i really dont know what i am doing wrong therefore.

System that i am using: SharePoint Online Modern Communication site + PnP Modern Search 4.13.1

Thank you so much for your help!