Mar 21 2017 12:14 PM
Hello,
I am working on a Content Search Web Part (on SharePoint Online) to fetch some sites. They are displyed as 3 lines on right and picture on left. The pictureURL uses 'SiteLogo' option to display the site logo.
It works fine, if the site has custom logo uploaded. However, if it's not there then it displays the grey image with question mark on it.
The placeholder with colored image and site Initials shows up, if the group sites are fetched and they dont have the logo or if the same query (for fetching SharePoint sites) in search on SharePoint Home page (the page that opens up when login on to owa has the sites we are following , recent and featured link).
So, Is it possible to fetch the place holder like the colored background with site Initials for the regular SharePoint sites as is displayed on the search page?
Thank you.
Mar 22 2017 04:59 AM
Why not just create a custom item display template and then check the value of the url. If it is blank set it to a url of an image that you would like to display.
Mar 27 2017 10:32 AM
Mar 27 2017 10:37 AM