Forum Discussion

sullysnack's avatar
sullysnack
Khoros Alumni (Retired)
12 years ago

REST call for "Is the accepted-solutions feature enabled?"

Can Freemarker in a custom component check whether the board of the topic page has the accepted-solution feature enabled or not?   Say some boards in my community have the accepted-solutions feat...
  • AdamN's avatar
    12 years ago

    Hi Dave,

     

    We store things like that as a "setting" for the node. This particular setting is called config.enable_accepted_solutions. There are REST API calls to get settings for a node (community, category, board/blog/idea/etc). 

     

    Give this a try:

    /boards/id/AAA/settings/name/config.enable_accepted_solutions

     I hope this helps!