2

Is there a way to get search hits in

  • HitHighlightedSummary
  • HitHighlightedProperties

on people search using REST?

/_api/search/query?querytext=%27ers%27&sourceid=%27b09a7990-05ea-4af9-81ef-edfab16c4e31%27&selectproperties=%27UserName,FirstName,LastName,HitHighlightedProperties,HitHighlightedSummary,Office%27

I only get empty properties..

<d:element m:type="SP.KeyValue">
   <d:Key>HitHighlightedProperties</d:Key>
   <d:Value m:null="true"/><d:ValueType>Null</d:ValueType>
</d:element>

<d:element m:type="SP.KeyValue">
  <d:Key>HitHighlightedSummary</d:Key><d:Value/>
  <d:ValueType>Edm.String</d:ValueType>
</d:element>

Sharepoint 2013 on-prem

Your Answer

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

Browse other questions tagged or ask your own question.