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

1
  • Did you try to query the Article Type object for this?
    – user28311
    Commented Jul 30, 2017 at 11:08

1 Answer 1

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'
2
  • Thank you @glls :) It worked and I can pass the list of Ids
    – C0DEPirate
    Commented Jul 30, 2017 at 14:58
  • :thumbsup: @C0DEPirate
    – glls
    Commented Jul 30, 2017 at 15:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .