Component for Unsolved Topics?
We just had a customer ask for a feed/component for "Unsolved Topics."
This is different from Unanswered Topics for our users, because that only shows 'no replies.'
We have a technical community where our users are challenged to "solve" problems.
I'm sure this is something I could pull via API (once I learn more as to how).
Has anyone ever done this?
Best regards,
Lainie
cc to cjdinger
LainieH - You'd need to make a custom component, here is a TKB explaining this.
You can get the X most recently started threads with this REST call:
http://YOURCOMMUNITYURL/<community id>/restapi/vc/boards/id/<board id>/threads/recent?page_size=X&page=1For example: http://lithosphere.lithium.com/lithium/restapi/vc/boards/id/growingcommunities/threads/recent?page_s...
If you would like to find the X most recently started threads in a board that have not been marked as solutions, you would probably want to make this last call and then loop through the response <thread> nodes looking for <solution> nodes that have no child nodes.