Gravatar for debadyuti.sil@gmail.com

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

Summary highlights after getting Respond

Hi,

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 mlaporte@coveo.com

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 debadyuti.sil@gmail.com

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 mlaporte@coveo.com

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

Hmm so you want to essentially shorten the string?

Ask a question