You need to sign in to do that
Don't have an account?
Captain62
Adding knowledge:categoryList to a publicly accessible Community page causes that page to prompt for a login
I have a Salesforce Community site set to Public Access, and Data Category visibility is set to "All" under the Public Access Settings, but the page below prompts for a login
<apex:page title="Hello World" applyHtmlTag="false" cache="false" docType="xhtml-1.1" showHeader="false" standardStylesheets="false"> <apex:composition template="{!$Site.Template}"> <apex:define name="content"> <h1>Hello World</h1> <ul> <knowledge:categoryList categoryGroup="Feature" categoryVar="cat" level="1" rootCategory="All"> <li><a href="/kb/browse?id={!cat.name}&g=Feature">{!cat.label}</a></li> </knowledge:categoryList> </ul> </apex:define> </apex:composition> </apex:page>When the <knowledge:categoryList> tag is removed the page loads without prompting for a login.
You shoud run your page directly in org , and see what actually error is this.
I think it'll help to reach out exact error.
got it, its issue with public access setting.
May be you gave permission only for Community portal not on site.
bcoz here is two places where we need to give permissions.
first one is site ans another one is community portal.
Actually i faced this error once so i think it will hellp u.
Cheers