Public
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Occasional Contributor

Can I see who marked a post as accepted solution?

Is there a way for an admin to see who marked a particular post as a solution?

 

Thanks, Jerry

2 Replies 2
Highlighted
Honored Contributor

@stickmantoo

It would not be possible to get the acceptor's details with Topic message. You need to dig out it's accepted solutions. Here is the API to get the accepter's details, 

select solution_data,topic.id from messages where is_solution = true

 

Give kudos if you find my posts helpful or mark solution if it answers your query
Highlighted
Khoros Alumni (Retired)

Just to elaborate a bit on this functionality: We added in 15.7 on the pre-responsive skin the admin option to show who accepted a solution (Here's the associated release notes: https://community.lithium.com/t5/Release-Notes/15-7-Release-Notes/ba-p/202212#float ). This feature didn't make it across to the responsive skin though. You can create a custom component using the API call VikasB outline to obtain the data on who accepted a message as a solution. Technically you would check if the current message is marked as a solution and then obtain the author information via passing the message ID to the API v2 call

SELECT solution_data FROM messages WHERE id = '120288'

which would return you something like the following that you can format accordingly then:

{

 "status" : "success",

 "message" : "",

 "http_code" : 200,

 "data" : {

   "type" : "messages",

   "list_item_type" : "message",

   "size" : 2,

   "items" : [ {

     "type" : "message",

     "solution_data" : {

       "type" : "solution_data",

       "message_id" : "439",

       "accepter" : {

         "type" : "user",

         "id" : "31",

         "href" : "/users/31",

         "view_href" : "/t5/user/viewprofilepage/user-id/31",

         "login" : "admin"

       },

       "time" : "2016-06-23T14:32:26.000-07:00"

     }

   } ]

 },

 "metadata" : { }

}

See also https://community.lithium.com/t5/Release-Notes/16-8-Release-Notes/ba-p/252375#api


Khoros Best Practice until August 2019. Onwards posting as Claudius.
Learn how to master Khoros. Learn Best Practice in the Community Documentation
If you appreciate my efforts, please give me a kudo ↓
Accept as solution to help others find it faster.

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Lithium customer? For direct assistance from our Support team, please visit the Support Forum.