Gravatar for

Question by Deb, Aug 2, 2015 3:32 PM

Summary highlights after getting Respond


I am getting full summary in coveo response using 'result.raw.sfkbdescriptionc' .I need to display few lines of the result after getting the response.Is there any method that i can use.I have used rest api call to get coveo response.Any help will be appreciated.

1 Reply
Gravatar for

Answer by Martin Laporte, Aug 3, 2015 3:14 AM

In your result templates, you can add code like this that will output the value: <%=raw.sfkbdescriptionc%>.

Gravatar for

Comment by Deb, Aug 3, 2015 2:36 PM

I am not using result template.I am getting full description using raw.sfkbdescriptionc.How to get few lines of it to display?is there any method that coveo can provide?

Gravatar for

Comment by Martin Laporte, Aug 5, 2015 4:15 AM

Hmm so you want to essentially shorten the string?

Ask a question