Forum Discussion

GuillaumeV's avatar
11 years ago

Accepted solution

Hi,

 

For topics which received accepted solution, i would like to publish the solution(s) in the footer of the initial question of the topic.

does anyone already achieved that, i think i can use a custom content but i'm not sure on how to implement it

 

Thanks

Guillaume

  • GuillaumeV Good question - Yes, this can be achieved by following steps:

     

    You need to create a custom component in which you have to;

     

    1. get the accepted solution for the current topic via the REST call, this post will help you fetch the accepted solution of the thread.

    2. place the custom component you just created in the ForumMessage page from studio

    3. in your custom component, you will then have to match the messageId with the topicId, if these two matches, display your custom accepted solution just below it.

    4. hide the original accepeted solution, using the css.

     

    Hope this helps.