List-Formatting icon indicating copy to clipboard operation
List-Formatting copied to clipboard

Library thumbnail doesn't work on Search Results page

Open SinghGurd opened this issue 7 years ago • 1 comments

Category

Bug

Expected or Desired Behavior

Expects file thumbnail to work on 'Search results' page as well when using this sample https://github.com/SharePoint/sp-dev-list-formatting/blob/master/column-samples/file-thumbnail/file-thumbnail.json.

It users @thumbnail.medium.

Observed Behavior

No thumbnail is displayed in 'Search Results' view.

Steps to Reproduce

  1. Create a new 'Single line of text column'
  2. Add column formatting to display file thumbnail as per sample here https://github.com/SharePoint/sp-dev-list-formathttps://guides.github.com/features/mastering-markdown/ting/blob/master/column-samples/file-thumbnail/file-thumbnail.json
  3. Make Thumbnail column to be the very first column of default view
  4. Thumbnail works all good within library views
  5. Search for a file using the modern search box that appears at top or left of library
  6. Search results page shows nothing for the thumbnail

SinghGurd avatar Jul 17 '19 03:07 SinghGurd

Hi, Unfortunately this is out of the box functionality for SharePoint lists, as column formatting isn't supported in the search view. If you'd like to see this, please add it to the SharePoint UserVoice. https://sharepoint.uservoice.com/

bcameron1231 avatar Jul 24 '20 01:07 bcameron1231