+ Start a Discussion
pureyangpureyang 

articletypes through metadata API

Looking for a way to retreive the available article types setup on KnowledgeArticles.

 

Assuming there are two KnowledgeArticle types: FAQ__kav and Marketing__kav, how can I find this list through SOAP or metadata API?

 

i've tried the following Metadata API package.xml, it tells me 'ArticleType' is not a valid object name.

<types>
<members>ArticleType</members>
<name>Objects</name>
</types>

 

Eventually I want to be able to create a package.xml to get fields on my article types.

<types>
<members>FAQ_kav</members>
<name>CustomObjects</name>
</types>

<types>
<members>Marketing_kav</members>
<name>CustomObjects</name>
</types>

 

Any help gladly appreciated.

-yang

A_SmithA_Smith

Article types are supported.  You can see the details here on how to retrieve them.  Don't forget the object extension __kav.

 

http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_articletype.htm