Loading

View Knowledge Base Articles on a Lightning Platform Site

Data pubblicazione: May 7, 2026
Descrizione

 

This article explains how to configure Salesforce Knowledge articles to be publicly accessible through a Salesforce Force.com Site or Experience Cloud Community. Once configured, articles that are published with the Public Knowledge Base data category assignment can be accessed by guest users via a structured URL.

Note: Most of the steps in this article also apply to Communities (Experience Cloud sites).

 

Risoluzione

To set up Knowledge articles for access via a Salesforce Force.com Site, follow the steps below.

Step 1: Enable Knowledge for Your Org

  1. Go to Setup > Users > Manage Users. Edit the admin or relevant user profile and check the Knowledge User checkbox.
  2. In Setup, search Knowledge in the Quick Find bar and enable Salesforce Knowledge for your org.

Step 2: Configure the Site to Share Articles via URL

  1. Create a Salesforce Site or use an existing one (Setup > Sites).
  2. Go to Knowledge Settings and click Edit. Under the Share Article via URL Settings section, enable the checkbox and add the site on which you want articles to be available.

Step 3: Grant Guest User Access to Articles

Because the site is intended for public access (no login required), the Guest User associated with the Force.com Site must be granted access to Knowledge articles. Only articles marked as Public Knowledge Base will be available to guest users.
To find the Guest User:

  1. Go to Setup > Sites. Click the Site Label of the site you wish to configure.
  2. Click the Public Access Settings button to view the guest user profile.

Option A — Edit the Guest User Profile directly:

  1. Click Edit on the profile and scroll down to the Knowledge Base Permissions section.
  2. Grant the guest user profile the relevant permissions to access articles.
  3. Click Save.

Option B — Create a Permission Set for the Guest User:

  1. From the Public Access Settings page, click View Users.
  2. Click the guest user's full name to open the user record.
  3. In the user record, search for Permission Set and click Edit Assignments.
  4. If no permission sets are available for the guest user license, click the Click here to create one link in the yellow banner.
  5. In the new permission set, go to Object Settings > Knowledge and assign the relevant permissions. Save.
  6. Return to the guest user's Edit Assignments and add the newly created permission set. Proceed through any license prompts.

URL Structure for Article Access

Once setup is complete, articles of type Public Knowledge Base are accessible via the Force.com Site using the following URL format.
Classic Knowledge (Article Types):

<SiteURL>/articles/<ArticleTypeName>/<ArticleName>

Classic Knowledge with Multiple Languages:

<SiteURL>/articles/<LanguagePrefix>/<ArticleTypeName>/<ArticleName>

Lightning Knowledge (Record Types instead of Article Types):

<SiteURL>/articles/Knowledge/<ArticleName>

Lightning Knowledge with Multiple Languages:

<SiteURL>/articles/<LanguagePrefix>/Knowledge/<ArticleName>
Numero articolo Knowledge

000382935

 
Caricamento
Salesforce Help | Article