Forum Discussion

nickz's avatar
nickz
Guide
11 years ago

how do I retrieve data from our company community TKB and display them within our company website?

I'm trying to create a search widget in our company website. It will allow users to input a key word in the search box and then call an API to retrieve articles from our company community TKB and dis...
  • FilipK's avatar
    FilipK
    11 years ago

    You might want to add this to your search query so that it returns all message elements as part of the response:

    &restapi.response_style=view&restapi.format_detail=full_list_element

    The excerpt you highlighted is something created dynamically by cutting the body of the message in our UI. So in order to create your own excerpt, you could do the same by taking the message <body> content and cut only one part of it at a predefined number of characters.