• pureyang
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

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

I have a project that requires usage of the SOAP API and we have a requirement to dynamically load the list of fields on our custom object (lets call it Article__c).

 

From my understanding if tomorrow we add a field, lets say VoteCount this means we will need to redownload enterprise.wsdl and use WSC to generate a new enterprise.jar, recompile. 

 

 

One possible solution might be to scrap this UR: https://instance.salesforce.com/soap/wsdl.jsp?type=*

Has anyone tried this?

 

Help/Insight, much appreciated.

 

Thanks,

-yang

I have a project that requires usage of the SOAP API and we have a requirement to dynamically load the list of fields on our custom object (lets call it Article__c).

 

From my understanding if tomorrow we add a field, lets say VoteCount this means we will need to redownload enterprise.wsdl and use WSC to generate a new enterprise.jar, recompile. 

 

 

One possible solution might be to scrap this UR: https://instance.salesforce.com/soap/wsdl.jsp?type=*

Has anyone tried this?

 

Help/Insight, much appreciated.

 

Thanks,

-yang