• pavan kumar v
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
Hi Team,
 The user cannot downvote and only he can give thumbs up.
So I thought of deleting the voting record against that Idea made by the user.
but then im getting  the error - 
 System.DmlException: Delete failed. First exception on row 2 with id 0833L0000000260QAA; first error: INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id: []


so is there any way to downvote or delete the vote records
Can anyone guide me on this to tackle this.
String aa = ‘hey how you’;
String bb = aa.contains(‘are’); // I need to extract ‘how’ from aa and place it in a new string bb.
Then I need to ADD a NEW word ‘are’ after the word ‘how’
So finally the sentence would be ‘ hey how are you’ .
Can anyone please guide me on this
Hi Team,
 The user cannot downvote and only he can give thumbs up.
So I thought of deleting the voting record against that Idea made by the user.
but then im getting  the error - 
 System.DmlException: Delete failed. First exception on row 2 with id 0833L0000000260QAA; first error: INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id: []


so is there any way to downvote or delete the vote records