2

I am trying to search case,solution and KnowledgeArticles with following SOSL

FIND 'lithium' RETURNING Dissusion__kav (Title, Summary, LastPublishedDate, KnowledgeArticleId, UrlName WHERE PublishStatus = 'Online'), questionAndAnswer__kav (Title, Summary, LastPublishedDate, KnowledgeArticleId, UrlName WHERE PublishStatus = 'Online'), Case__kav (Title, Summary, LastPublishedDate, KnowledgeArticleId, UrlName WHERE PublishStatus = 'Online')

but on executing I am getting this Exception

You must specify a language WHERE clause for knowledge articles in this API version

But WHERE clause is already included .

1 Answer 1

4

Based on Question related to SOSL and Knowledge Articles, you need to append WHERE Language = 'en_US' at the outermost level:

... UrlName WHERE PublishStatus = 'Online') WHERE Language = 'en_US'

You must log in to answer this question.

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