You need to sign in to do that
Don't have an account?
dho1
Issue with mapping custom fields from case to knowledge article
I'm overriding the create new article from case feature with custom fields per the following article: https://help.salesforce.com/HTViewHelpDoc?id=knowledge_caseclose_apex.htm&language=en_US
However, the article did not mention how to differentitae the article type in the class. I tried to reference the article field in the class but it returned a null:
string ArticleType = (string)article.get('ArticleType')
Can you shed some light on how I can do this?
TIA
Hi Tia,
See the article and example belowto reference the Article Type,
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_pages_knowledgearticleversionstandardcontroller.htm
Also see the discussion,
http://salesforce.stackexchange.com/questions/918/how-to-find-knowledge-article-type
Regards,
Ashish