+ Start a Discussion

KnowledgeArticleVersionStandardController - passing Data Categories

I am using an apex controller to pass Case data into an Article created from Case, as outlined at http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_pages_knowledgearticleversionstandardcontroller.htm. It's working fine EXCEPT for the lines passing Data Category to the article (the last two lines). I've ensured I have the proper Data Category Group name and I'm using a Data Category that actually exists in the Data Category Group but still no go. I suspect the apex controller example is missing lines of code to actually assign the Data Category to the Article?