I suspect i know the answer :-)
I suspect i know the answer :-)
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. ;)
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