Forum Discussion
Hi Warren_Brill - There are certain direct API calls for some of these, you can detect the Attachments via the following call:
http://community.lithium.com/lithosphere/restapi/vc/messages/id/132493/uploads/attachments/
if a message doesn't have an attachment, it will return nothing, so you have to code your widget accordingly to display the custom icon. A good example of this is here, they have completely customized boards page with the icons displayed based on the type of content a post contains.
For the solved one, http://community.lithium.com/lithosphere/restapi/vc/threads/id/151866 this post has solution and this http://community.lithium.com/lithosphere/restapi/vc/threads/id/132493 does not, see how the solutions tag is empty in the second one. So you have to write a custom code by checking if these have certain type of content and then display the icon.
Same goes for others.
I hope this helps.
Related Content
- 10 years ago
- 9 years ago
- 7 years ago
- 8 years ago
- 5 years ago