function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BerlinGuyBerlinGuy 

Showing articles on a sites page

Hello,

I am trying to build a page that will show articles (that represent frequently asked questions). However, the page doesn't show the articles. The 2 following queries are in the page controller and they return 0 results:

 

1. Select k.Title, k.Summary From KnowledgeArticleVersion k  where publishstatus='online'

 

2. SELECT id, Title, Text_Items__c FROM DE_Fragen_zur_Rechnung__kav WHERE publishstatus='online' and topFAQ__c = 'Yes'

 

(The Customer Portal Profile has full access permission to DE_Fragen_zur_Rechnung__kav )

 

Can someone tell me how can I make the "Customer Portal Site Guest User" a knowledge user?  Or is there any other way to show articles?

hemantgarghemantgarg

Please try it taking the "Article__kav" as standard controller on the page.