You need to sign in to do that
Don't have an account?
JonReeves
KnowledgeArticleVersion RelationshipName?
I'm trying to query all KnowledgeArticleVersions but return back thier Vote and View Stats.
Here is the Relational Diag:
However when I Describe the KnowledgeArticle there is no RelationshipName for KnowledgeArticleVersion... any ideas how I can query across these 4 tables?
This works to bring back any Article:
SELECT Id, (SELECT NormalizedScore FROM VoteStats WHERE Channel = 'Csp'), (SELECT NormalizedScore FROM ViewStats WHERE Channel = 'Csp') FROM KnowledgeArticle
But I want to restrict the results with:
SELECT Title FROM KnowledgeArticleVersion WHERE PublishStatus = 'Online' AND Language = 'en_US'
Cheers,
J