I suspect i know the answer :-)
I suspect i know the answer :-)
If you have access to the Database. Yes. (I suspect that is the answer you suspected)
FrancescaS
Thanks FrancescaS, you've confirmed my fears - lol
Hey John McKenzie ,
I just ran a quick test locally using the api and it appears to be possible. If you open up your browsers developer tools (while in Sugar) and run the following with the correct id, it should work:
App.api.call( 'delete', App.api.buildURL('CommentLog/{commentId}'), {}, { success: function(data) { console.log(data); } } );
Nice idea!
But you will need another API call to pinpoint the ID since I don't think you can determine what it is otherwise...
I say if it's just one, put in a ticket and ask support to delete it for you. ;)
Hey Francesca Shiekh
You wouldn't necessarily need another api call as the id is embedded in the parent li element of the entry in comment log dashlet - so you can just copy it from there after inspecting the source, but I do agree that it'd probably be best to just file a support ticket if you're an admin and not a developer
I looked for it in the source and didn't find it, probably just didn't look in the right place :)
Thanks for the tip!
Francesca Shiekh Jerry Clark
Thank you both, interesting approach :-)