• pratik kanetkar
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi Everyone,

When I try to move published article to draft using this code , 
String str =KbManagement.PublishingService.editOnlineArticle('kAA4C000000CaTmWAK', true);, it throws following error.
System.HandledException: You can't perform this action. Be sure the action is valid for the current state of the article, and that you have permission to perform it.
I'm runing this code as system admin who have "Manage Article Permission".

Can you guys get me a solution for this.

Thanks,
Vignesh.B