Find your content:

Search form

You are here

Filter out articles published internally using knowledge:articleList

 
Share

I am trying to get a list of only the articles available in our customer portal or public kb but I dont see how to filter by channel using "knowledge:articleList".

Is this possible or will I need to create a custom search using SOQL/SOSL?

Thanks!


Attribution to: PepeFloyd

Possible Suggestion/Solution #1

Apparently is not possible and it can be done only through SOQL/SOSL.


Attribution to: PepeFloyd

Possible Suggestion/Solution #2

Using KnowledgeArticleViewStat , we can fetch articles based on the channels.

SELECT Id, NormalizedScore, Parent.Id FROM KnowledgeArticleViewStat where Channel = 'App' ORDER BY NormalizedScore

Please refer- https://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_knowledgearticleviewstat.htm


Attribution to: user7533
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/4701

My Block Status

My Block Content