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
AdityaRAdityaR 

Guest User Licenses and public knowledge base

I am working on installing Sample Public Knowledge Base for Salesforce Knowledge from Appexchange in a dev org . I followed all instructions in the pdf (https://na10.salesforce.com/help/doc/en/salesforce_pkb_implementation_guide.pdf) but the I am getting the error message :

'Configuration error - your user is not allowed to view knowledge'

The above error is on a public site created in Salesforce using sites (The application automatically creates this page). The user is a Guest user license and does not have “Knowledge user” checkbox on their profile. Do guest users have the ability to view
public knowledge or not? If so, how can I go about doing this.

Please help me out with this.

 

Thanks

-Aditya


Best Answer chosen by Admin (Salesforce Developers) 
francoisLfrancoisL

Hi, 

 

We are aware of this bug that will be fix by the new version of this package. In the meantine, there is a easy workaround to fix it.

 

Edit the paex class:  KnowledgeController and replace the method getCanUserSeeKnowledge() by

 

  public Boolean getCanUserSeeKnowledge() {
     // Not neededanymore        
     return true;
  }

 Thanks,

 

 

All Answers

francoisLfrancoisL

Hi, 

 

We are aware of this bug that will be fix by the new version of this package. In the meantine, there is a easy workaround to fix it.

 

Edit the paex class:  KnowledgeController and replace the method getCanUserSeeKnowledge() by

 

  public Boolean getCanUserSeeKnowledge() {
     // Not neededanymore        
     return true;
  }

 Thanks,

 

 

This was selected as the best answer
AdityaRAdityaR

@francoisL

Thanks a lot for the prompt reply.

 

Aditya