Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Content search webpart - display template default picture (per search webpart)

$
0
0

On my site a have several search webparts. One searches contentype "Bikes", another searches "cars", etc.

As the display template I use the "Picture on left, 3 lines on right". Now I want for every result to show the same picture (icon).

So I uploaded two icons:

https://blabla.sharepoint.com/SiteAssets/bike_icon.png

https://blabla.sharepoint.com/SiteAssets/car_icon.png

In the property mapping of the webpart in the picture url I just would like to use "https://blabla.sharepoint.com/SiteAssets/bike_icon.png"  and for the "Cars" webpart of course the "https://blabla.sharepoint.com/SiteAssets/car_icon.png"

What is the best way to achieve this?

Thanks, Mike


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>