Khoros Atlas Logo

%3CLINGO-SUB%20id%3D%22lingo-sub-438204%22%20slang%3D%22en-US%22%3ECan%20I%20see%20who%20marked%20a%20post%20as%20accepted%20solution%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-438204%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20a%20way%20for%20an%20admin%20to%20see%20who%20marked%20a%20particular%20post%20as%20a%20solution%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%20Jerry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-438291%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20see%20who%20marked%20a%20post%20as%20accepted%20solution%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-438291%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20to%20elaborate%20a%20bit%20on%20this%20functionality%3A%20We%20added%20in%2015.7%20on%20the%20pre-responsive%20skin%20the%20admin%20option%20to%20show%20who%20accepted%20a%20solution%20(Here's%20the%20associated%20release%20notes%3A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.lithium.com%2Ft5%2FRelease-Notes%2F15-7-Release-Notes%2Fba-p%2F202212%23float%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcommunity.lithium.com%2Ft5%2FRelease-Notes%2F15-7-Release-Notes%2Fba-p%2F202212%23float%3C%2FA%3E%20).%20This%20feature%20didn't%20make%20it%20across%20to%20the%20responsive%20skin%20though.%20You%20can%20create%20a%20custom%20component%20using%20the%20API%20call%20VikasB%20outline%20to%20obtain%20the%20data%20on%20who%20accepted%20a%20message%20as%20a%20solution.%20Technically%26nbsp%3Byou%20would%20check%20if%20the%20current%20message%20is%20marked%20as%20a%20solution%20and%20then%20obtain%20the%20author%20information%20via%20passing%20the%20message%20ID%20to%20the%20API%20v2%20call%3C%2FP%3E%0A%3CPRE%3ESELECT%20solution_data%20FROM%20messages%20WHERE%20id%20%3D%20'120288'%3C%2FPRE%3E%0A%3CP%3Ewhich%20would%20return%20you%20something%20like%20the%20following%20that%20you%20can%20format%20accordingly%20then%3A%3C%2FP%3E%0A%3CPRE%3E%7B%0A%0A%20%22status%22%20%3A%20%22success%22%2C%0A%0A%20%22message%22%20%3A%20%22%22%2C%0A%0A%20%22http_code%22%20%3A%20200%2C%0A%0A%20%22data%22%20%3A%20%7B%0A%0A%20%20%20%22type%22%20%3A%20%22messages%22%2C%0A%0A%20%20%20%22list_item_type%22%20%3A%20%22message%22%2C%0A%0A%20%20%20%22size%22%20%3A%202%2C%0A%0A%20%20%20%22items%22%20%3A%20%5B%20%7B%0A%0A%20%20%20%20%20%22type%22%20%3A%20%22message%22%2C%0A%0A%20%20%20%20%20%22solution_data%22%20%3A%20%7B%0A%0A%20%20%20%20%20%20%20%22type%22%20%3A%20%22solution_data%22%2C%0A%0A%20%20%20%20%20%20%20%22message_id%22%20%3A%20%22439%22%2C%0A%0A%20%20%20%20%20%20%20%22accepter%22%20%3A%20%7B%0A%0A%20%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22user%22%2C%0A%0A%20%20%20%20%20%20%20%20%20%22id%22%20%3A%20%2231%22%2C%0A%0A%20%20%20%20%20%20%20%20%20%22href%22%20%3A%20%22%2Fusers%2F31%22%2C%0A%0A%20%20%20%20%20%20%20%20%20%22view_href%22%20%3A%20%22%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F31%22%2C%0A%0A%20%20%20%20%20%20%20%20%20%22login%22%20%3A%20%22admin%22%0A%0A%20%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20%20%22time%22%20%3A%20%222016-06-23T14%3A32%3A26.000-07%3A00%22%0A%0A%20%20%20%20%20%7D%0A%0A%20%20%20%7D%20%5D%0A%0A%20%7D%2C%0A%0A%20%22metadata%22%20%3A%20%7B%20%7D%0A%0A%7D%3C%2FPRE%3E%0A%3CP%3ESee%20also%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.lithium.com%2Ft5%2FRelease-Notes%2F16-8-Release-Notes%2Fba-p%2F252375%23api%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcommunity.lithium.com%2Ft5%2FRelease-Notes%2F16-8-Release-Notes%2Fba-p%2F252375%23api%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-438217%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20I%20see%20who%20marked%20a%20post%20as%20accepted%20solution%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-438217%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.lithium.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F11895%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%40stickmantoo%3C%2FA%3E%3C%2FP%3E%3CP%3EIt%20would%20not%20be%20possible%20to%20get%20the%20acceptor's%20details%20with%20Topic%20message.%20You%20need%20to%20dig%20out%20it's%20accepted%20solutions.%20Here%20is%20the%20API%20to%20get%20the%20accepter's%20details%2C%26nbsp%3B%3C%2FP%3E%3CPRE%3Eselect%20solution_data%2Ctopic.id%20from%20messages%20where%20is_solution%20%3D%20true%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor
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

0 Kudos
2 Replies 2
Honored Contributor
Honored Contributor

Re: Can I see who marked a post as accepted solution?

@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
Reply
Loading...
Highlighted
Khoros Alumni (Retired) Khoros Alumni (Retired)
Khoros Alumni (Retired)

Re: Can I see who marked a post as accepted solution?

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.
Reply
Loading...