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

How to remove Profile picture from Author slot #4098

Closed sanjeevba closed 1 week ago

sanjeevba commented 1 week ago

In PnP Search Results Webpart, I'm using the Cards layout with LocalSharePointResults. I'm trying to remove the Capital 'W' shown in the picture (bottom left). I've tried modifying the Managed Card Fields but was not successful.

I've even tried switching to a custom handle bar template and modifying it. I realize if I don't enter a profile name it takes the first letter of whatever is in that slot.

Is it it possible to remove the circled Capitial W?

image

kasperbolarsen commented 1 week ago

You are aware that the circle will show a picture if the UPA account has one? image

sanjeevba commented 1 week ago

Yes, I am aware the picture will show if the UPA has one. In this case I'm not using that slot as a User. I'm using it as a PhotoCategory...as in Season (Fall, Winter, Summer, Spring). So the the Author slot is actually PhotoCategory. And the Circle with the letter is the first letter of the Season. Is there a way to remove the Circle with the Letter?