Forum Discussion

4 Replies

  • KaelaC's avatar
    KaelaC
    Lithium Alumni (Retired)
    11 years ago

    Hey Alan,

     

    What kind of query string do you want to pass to the widget?  I'll ping you directly with some options.

     

    Kaela

  • iftomkins's avatar
    iftomkins
    Maven
    11 years ago

    Hi Kaela,

     

    I am hoping to capture the Ask a Question query and display the results in the sidebar of the Compose post page. That way, even though the auto-suggest doesn’t work in the subject of the Compose post page (when you arrive from Ask a Question), the suggestion list would still be visible.

     

    Perhaps it makes more sense to make a Search REST API call, based on the question that the user asked (value of the subject input), and then display the results in the sidebar. 

     

    What do you think?

     

    :)

    Alan

  • clint's avatar
    clint
    Advisor
    11 years ago

    Can someone post back the solution to this thread?  I'm curious about this functionality too.  I am trying to put a "Related Topics" widget elsewhere on my corporate website.

     

    Thanks,

     

    Clint

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    11 years ago

    Hi clint 

     

    have you considered setting up an Endpoint that retrieves the "related topics" (using the best available method : you could use the REST Search API, or maybe look up at messages by labels or tags if you have these available on your corporate websiite page and they correspond to community content) and returns the data in JSON format (or even HTML directly)

     

    You can then integrate your corporate page with that endpoint - so that it renders the data retrieved from the endpoint.

     

    Depending on the type of related data you want to show, you may also be able to use the "Latest topics" Activecast widget as a ready made solution.

     

    Hope it helps,