3

I have knowledge articles created in en_US in my org and want to query in what other languages the article has been translated

  • Did you try to query the Article Type object for this? – Fred Jul 30 '17 at 11:08
4

A way to fetch what other languages it has been translated to is to filter on the knowledgearticleid or Id in your soql.

As per the SOAP API Developer Guide documentation on KnowledgeArticleVersion:

Always filter on a single value of Language. However, in SOQL, you can filter on more than one Language if there is a filter on Id or KnowledgeArticleId.

example SOQL:

SELECT Title, language
FROM KnowledgeArticleVersion WHERE PublishStatus='Online' AND
 knowledgearticleid='kA0f40000004Wq7CAE'
| improve this answer | |
  • Thank you @glls :) It worked and I can pass the list of Ids – C0DEPirate Jul 30 '17 at 14:58
  • :thumbsup: @C0DEPirate – glls Jul 30 '17 at 15:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.