0

I am using Content Search Web part in Sharepoint Online Site. The search Query is set to retrive List items for one list only like this: path:"https://XXXXXXX.sharepoint.com/sites/SiteName/Lists/ListName/" (contentclass:"STS_ListItem") {SearchBoxQuery}
But in the search results, I am able to display only site columns not list columns.
The same is with refiner web part where only columns like Author and Modified Date are availble.
So how to use Custom List Columns in Search results and refiener web part?

0

you have to map the columns to some crawled properties.

if it is a date then use refinabledate00 or any of them that Arent used. if it is a text field then use refinablestring00 etc.

once you have mapped the columns you have to wait for the SharePoint online to do a full crawl. that usually happens sometimes during the weekend. After the full crawl has happened you can use your custom columns in refiners.

  • What in case of a choice column? – Yayati Sep 29 '15 at 8:55
  • 1
    hm... that is much harder as there is no refinable choice. you could try hacking it a bit. it wont be pretty but you could make a calculated column to read what your choice column has or maybe try a lookup column that stores the value. then you could try mapping either of those. as i said it wont be pretty and you might not be able to do that at all but it is worth a shot. – Cherubel Sep 29 '15 at 9:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.