Lightning Knowledge Guide
Lightning Knowledge Guide
Lightning Knowledge Guide
@salesforcedocs
Last updated: January 12, 2024
© Copyright 2000–2024 Salesforce, Inc. All rights reserved. Salesforce is a registered trademark of Salesforce, Inc., as are other
names and marks. Other marks appearing herein may be trademarks of their respective owners.
CONTENTS
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
CREATE A KNOWLEDGE BASE WITH SALESFORCE
KNOWLEDGE
Give website visitors, customers, partners, and service agents the ultimate support tool. Create a
EDITIONS
knowledge base of articles that can be securely shared.
Your Salesforce Knowledge base is built from knowledge articles, which are documents of Available in: Salesforce
information. Articles can include information on process, like how to reset your product to its Classic (not available in all
defaults, or frequently asked questions, like how much storage your product supports. orgs) and Lightning
Experience
Experienced service agents and internal writers write the articles. The articles are then published
and can be used internally or externally in a range of channels. You can publish articles in customer Salesforce Knowledge is
and partner sites and public websites or share articles in social posts and emails. Control where and available in Essentials and
what information is published or shared based on the article page layouts, user profiles, actions, the Unlimited Edition with
and other settings. Service Cloud.
You can use Knowledge in both Salesforce Classic and Lightning Experience. Orgs new to Knowledge Salesforce Knowledge is
use Lightning Knowledge, which is generally available. If your org already uses Knowledge in available for an additional
Salesforce Classic, consider using the Lightning Knowledge Migration Tool and switching to Lightning cost in: Professional,
Knowledge. Enterprise, Performance,
and Developer Editions. For
Note: Enabling Lightning Knowledge changes your org's data model to use record types more information, contact
rather than article types. After you enable Lightning Knowledge, you can't disable it. Before your Salesforce
enabling Lightning Knowledge, orgs with multiple articles types require data migration to representative.
consolidate article types. Test in a sandbox or trial org before enabling in production.
1
Create a Knowledge Base with Salesforce Knowledge
SEE ALSO:
Salesforce Knowledge Help and Resources
2
Create a Knowledge Base with Salesforce Knowledge Salesforce Knowledge Help and Resources
3
Create a Knowledge Base with Salesforce Knowledge Salesforce Knowledge Help and Resources
Trailhead
• Knowledge Basics (Lightning)
• Knowledge Basics (Classic)
• Knowledge Search Basics (Classic)
4
Create a Knowledge Base with Salesforce Knowledge Plan Your Knowledge Base in Lightning Experience
Do you need workflow or approval processes Workflow and Approvals for Articles, Validation
to manage article creation and publication? Rules
Do you have an existing Knowledge base or Import Existing Information into Salesforce
documentation that you need to import? Knowledge
Are you supporting more than one language? Support a Multilingual Knowledge Base
Do you need to share your knowledge base Give Customers Access to Your Knowledge Base
externally? Through Help Center
Do you need guidelines, resources, and current Salesforce Knowledge is "KCS Verified" by the
discussions on the evolving world of knowledge Consortium for Service Innovation, which
orientated service? recognizes best practices in customer support
methodologies. By implementing
Knowledge-Centered Support (KCS) features,
5
Create a Knowledge Base with Salesforce Knowledge Plan Your Knowledge Base in Lightning Experience
Consider the following tips when planning and using Salesforce Knowledge:
• Create synonym groups in Salesforce Knowledge. Synonyms are words or phrases that are treated as equivalent in article searches,
letting you optimize search results.
• Before setting up data categories, carefully plan your category groups and their hierarchies. Also, consider how your category hierarchy
maps to your role hierarchy. For more information, see Data Category Visibility.
• Create custom reports on your Salesforce Knowledge data. You can also install the Knowledge Base Dashboards and Reports app from
the AppExchange to receive over two dozen helpful reports.
• Multiple agents can edit the same article at the same time. If that occurs, your changes can be overwritten by a colleague without
warning, even if you save your work frequently. To avoid accidental data loss, instruct all users who edit articles to edit only the
articles they're assigned.
• Review your usage regularly to avoid storage shortages: from Setup, enter Storage Usage in the Quick Find box, then select
Storage Usage.
• Public knowledge base users cannot rate articles.
• Salesforce Files allows agents to attach documents to articles.
• You will lose your data if you convert a custom field on an article type into any other field type. Do not convert custom fields unless
no data exists for the field.
• When renaming Salesforce Knowledge labels note that standard field names, like Title and URL Name, are fixed. You can’t change
the labels for these fields on the article create and edit pages. If the organization is set to another language, these fields remain in
the fixed label for that language.
• The Salesforce Knowledge search engine supports lemmatization, which is the process of reducing a word to its root form. With
lemmatization, a search can match expanded forms of a search term. For example, a search for running matches items that
contain run, running, and ran.
• Make sure that you have a clear understanding of how record types affect your knowledge base, and how to use them to display
different layouts for different articles. For more information, see Record Type Considerations for Lightning Knowledge
• Determine if you need to create automation for some of your record types. Automation can include quick actions, process builder,
or flows. For example, you can create a rule that sends an email to an article manager when an agent creates an article from a closed
case.
• Determine if you need to create approval processes for some of your record types. For example, if you have a type of article that
must have legal and management approval before it can be published externally, create an approval process for the article type. For
more information, see Workflow and Approvals for Articles.
Note: If you require more than the allocated default maximum, you can ask Salesforce Support to increase the article limits.
6
Create a Knowledge Base with Salesforce Knowledge Knowledge Scalability
If you require more than the allocated default maximum, you can ask Salesforce Support to increase the article limits. Limits on versions
retained per article don’t include versions linked to objects such as cases, work items, and undeletable lookup fields. So, for example, an
article might have 25 versions, even if the default limit is 10 versions per article, if 15 of those versions are linked to cases. However,
versions attached to objects such as cases count towards the total number of versions per org.
SEE ALSO:
Knowledge Scalability
Knowledge Scalability
Every Salesforce Knowledge article can have several versions: one draft, one published, and several
EDITIONS
archived versions, and each of these versions can have multiple translations. Thus, the total number
of article versions in an org can be much higher than the number of articles. When scaling your org, Available in: All Editions
pay attention to both the total number of article versions and edition-specific limits on articles.
Each Salesforce edition has its own limits on Knowledge articles, versions, and language translations.
Also, all editions share a maximum limit of total article versions allowed. Keep all of these limits in mind when scaling your org.
The total number of Knowledge articles in an org is calculated as follows.
Total # of versions = (# of articles) x (# of retained1 versions per article) x (# of translations per version)
For example, if you have 100,000 articles, each with a total of 5 versions (1 draft, 1 published, 3 archived), and 5 translations of each of
those versions, you have 2,500,000 total article versions.
So in calculating your capacity needs, and determining which edition you need, think versions. Do you have a multilingual customer
base with lots of translations? Do you have a rigorous editing process with many drafts? Do you keep archived versions of articles around
for a long time?
Note: If you require more than the allocated default maximum, you can ask Salesforce Support to increase the article limits.
1
“Retained” articles can include not just versions you’ve created, but versions attached to other objects, such as cases or work items.
7
Create a Knowledge Base with Salesforce Knowledge Knowledge Scalability
If you require more than the allocated default maximum, you can ask Salesforce Support to increase the article limits. Limits on versions
retained per article don’t include versions linked to objects such as cases, work items, and undeletable lookup fields. So, for example, an
article might have 25 versions, even if the default limit is 10 versions per article, if 15 of those versions are linked to cases. However,
versions attached to objects such as cases count towards the total number of versions per org.
The total number of versions in the org is listed under “Knowledge Versions.” The number of articles in the org is listed under “Knowledge.”
SEE ALSO:
Plan Your Knowledge Base in Lightning Experience
8
Create a Knowledge Base with Salesforce Knowledge Compare Lightning Knowledge with Classic Knowledge
Record home (articles) Custom record home Default Record Home and
Record Home that is
configurable via the Lightning
App Builder
Use Knowledge in the console Add Knowledge One to the Add the Lightning Knowledge
Service Console component via the Lightning
App Builder
SEE ALSO:
Sharing Considerations for Lightning Knowledge
Lightning Knowledge Migration Tool
9
Create a Knowledge Base with Salesforce Knowledge Lightning Knowledge Limitations
To move from Classic Knowledge to Lightning Knowledge, use the Lightning Knowledge Migration Salesforce Knowledge is
Tool. Before running the migration tool in your production org, test the migration in a recently available in Essentials and
refreshed full-copy sandbox. Verify all customizations and integrations to Knowledge. A carefully Unlimited Editions with
prepared migration plan minimizes the impact on production during migration. Service Cloud.
Salesforce Knowledge is
Important Considerations for Enabling Lightning available for an additional
cost in: Professional,
Knowledge Enterprise, Performance,
and Developer Editions. For
• To move your knowledge base from Classic Knowledge into Lightning Knowledge, use the more information, contact
Lightning Knowledge Migration Tool. Keep in mind that the migration process requires manual your Salesforce
steps and verification. It’s possible that some of your data doesn't migrate over. To enable the representative.
migration tool in sandbox or production, contact Salesforce support.
• Permissions and user access work differently in Lightning Knowledge. See Lightning Knowledge
User Access. When Lightning Knowledge is enabled, user profile permissions replace article actions with public groups. For Knowledge
in Salesforce Classic, you can assign independent object permissions for each article type. In Lightning Knowledge, article types are
consolidated in the Knowledge object. You can use sharing for Lightning Knowledge to assign independent permissions based on
the record type to user profiles.
• To delete archived articles in a Lightning Knowledge–enabled org, you must have the Modify All permission.
• After you enable Lightning Knowledge, the Article Type field is no longer accessible via SOQL or the API, which affects custom code
that queries for the ArticleType.
• Delete any installed packages that contain article types before enabling Lightning Knowledge.
• Lightning Knowledge doesn't support federated search. Switch to Salesforce Classic.
• Lookup searches in Classic find Knowledge records (articles) of any Publish status: Draft, Published, or Archive. But in Lightning,
Lookup searches find only published Knowledge records.
• If your org currently has a Visualforce tab named Knowledge, you get an Insufficient Privileges error when trying to access the
Knowledge tab in Lightning Knowledge. To avoid this error, rename or delete your existing Visualforce tab or rename your Knowledge
object.
• Files in custom File fields in Salesforce Classic aren’t supported in Lightning Experience. Instead, use the Files related list in Lightning
Experience. Use the Lightning Knowledge Migration Tool to move Files from File fields to the Files object and related lists in Lightning
Experience.
• URL formats for articles differ between Classic and Lightning Knowledge. In Lightning Knowledge, the URL contains the Knowledge
Article Version ID and other parameters. In Classic Knowledge, the URL contains the Knowledge Article ID.
• You can’t use the Public Knowledge Base package (PKB) in Lightning Knowledge. You can share Lightning Knowledge articles in
Experience Cloud and Salesforce Sites. Use Help Center to share articles with unauthenticated users.
• You can have up to 100 links to different Salesforce Knowledge articles in one rich text field.
10
Create a Knowledge Base with Salesforce Knowledge Lightning Knowledge Limitations
11
Create a Knowledge Base with Salesforce Knowledge Knowledge Limitations in the Salesforce Mobile App
• Picklist values assigned to only one record type in Knowledge objects aren’t visible on records in Salesforce Classic.
12
Create a Knowledge Base with Salesforce Knowledge Set Up Lightning Knowledge with a Guided Setup Flow
Articles can't be linked to cases. (But links that are set up from the desktop site can be viewed
on the Related tab.)
Tables are sometimes cut off on the right side when included in article rich text fields.
Compact layouts display the article type API name instead of the article type name. So users
see the article type API name in the highlights area when viewing an article.
When searching from the Articles home page, only articles in the user’s language are returned
and only if that language is an active Knowledge language (from Setup, Customize >
Knowledge > Knowledge Settings). To see articles in another language, users can change
to an active Knowledge language. From My Settings, use the Quick Find search box to
locate the Language & Time Zone page.
In global search, search results show articles in the language specified for the device,
regardless of the active Knowledge language.
Filtering search results by data categories, article type, validation status, or language isn’t
available.
Knowledge articles aren’t available when accessing Experience Cloud sites via the Salesforce
mobile app.
Important: After you enable Lightning Knowledge, you can’t disable it.
13
Create a Knowledge Base with Salesforce Knowledge Set Up Lightning Knowledge with a Guided Setup Flow
Tip: Data Category Groups help you classify and find articles. You can use data categories to control access to a set of articles,
questions or ideas.
We also turn on several things in the background during the setup flow.
• Enabling Lightning Knowledge
We enable Lightning Knowledge during the flow, which can’t be undone. Don’t worry about this if you’ve never used Knowledge
before and you’re ready to dive in on Lightning Experience.
Lightning Knowledge is different from Salesforce Knowledge in Salesforce Classic, so if you already use Salesforce Classic, some
planning is required. Make sure that you know and understand what changes and what works differently when you switch.
Note: If you created a page layout and record type before starting the Lightning Knowledge setup flow, we don’t create new
ones in the setup flow. The integrity of your initial settings isn’t altered.
14
Create a Knowledge Base with Salesforce Knowledge Set Up and Configure Lightning Knowledge
15
Create a Knowledge Base with Salesforce Knowledge Enable Lightning Knowledge
Note: If Knowledge in Salesforce Classic is already enabled in your org, use the Lightning Available in: Lightning
Knowledge Migration Tool instead of enabling Knowledge here. Experience
1. From Setup, enter Knowledge in the Quick Find box and click Knowledge Settings. Salesforce Knowledge is
2. On the Knowledge Settings page, click Edit. available in Essentials and
Unlimited Editions with
3. Select Enable Lightning Knowledge. Service Cloud.
Note: To enable Lightning Knowledge, you must have one article type. After you enable Salesforce Knowledge is
Lightning Knowledge, you can’t disable it. available for an additional
cost in: Professional,
4. Enable any other Knowledge settings that you want. Enterprise, Performance,
5. Click Save. and Developer Editions. For
more information, contact
After Lightning Knowledge is enabled, Knowledge appears in the Object Manager. This is where your Salesforce
you control your Lightning Knowledge settings and page layouts. representative.
Whenever you change the name and API name of your Knowledge Base in Object Manager, we
recommend that you do a hard refresh of your browser to avoid server errors. Changing the
USER PERMISSIONS
knowledge base name also affects customizations, Apex, and SOQL queries.
To view Knowledge Settings
Important: Enabling Lightning Knowledge changes your Org's data model to use record
in Setup:
types rather than article types. Orgs with multiple articles types require data migration to
• Knowledge User license
consolidate article types before enabling Lightning Knowledge. Remember, after you enable
Lightning Knowledge, you can't disable it. Test in a Sandbox or Trial org before enabling in
production.
16
Create a Knowledge Base with Salesforce Knowledge Page Layout Considerations for Lightning Knowledge
SEE ALSO:
Page Layout Tips
17
Create a Knowledge Base with Salesforce Knowledge Lightning Knowledge Home and Record Pages
By default, list views in Lightning Experience show all available languages. When Lightning Knowledge is enabled, list views in the Article
Management tab in Salesforce Classic show articles in the user's language by default, or the primary language for Knowledge if the user’s
language isn’t available.
SEE ALSO:
Authoring Actions in Lightning Knowledge
18
Create a Knowledge Base with Salesforce Knowledge Lightning Knowledge User Access
Attach or detach published Allow View Knowledge Read on Knowledge, Read and
articles to objects and search Edit on objects to which you
articles attach or detach the article
2
The View Archived Articles permission controls access only to articles where the latest or current version is archived. Read
permission for Knowledge allows users to view past archived versions associated with articles currently in Published status.
19
Create a Knowledge Base with Salesforce Knowledge Lightning Knowledge User Access
Publish articles Manage Articles, Publish Articles Create, Read, Edit, Delete
Archive articles Manage Articles, Archive Articles Create, Read, Edit, Delete
Restore archived articles Manage Articles, Archive Articles Create, Read, Edit
Submit articles for translation Manage Articles, Article Translation–Submit Create, Read, Edit
for Translation
Publish translations Manage Articles, Article Translation–Publish Create, Read, Edit, Delete
Import articles Manage Salesforce Knowledge, Manage Create, Read, Edit, Delete
Articles, Manage Knowledge Article
Import/Export
Import and export articles for translation Manage Salesforce Knowledge, Manage Create, Read, Edit, Delete
Articles, Manage Article Import/Export
20
Create a Knowledge Base with Salesforce Knowledge Article History Tracking (Lightning Experience)
21
Create a Knowledge Base with Salesforce Knowledge Define Validation Status Picklist Values
To create or change
validation status picklist
values:
• Customize Application
22
Create a Knowledge Base with Salesforce Knowledge Set Up Actions to Insert Articles into Channels in Lightning
Knowledge
With the Lightning Knowledge component and related list actions, agents can directly embed article content into the body of customer
emails and in social, chat, and messaging conversations. Create a communication channel mapping to choose which article fields are
included for each record type and channel. Your customers can access article summaries without going to a website. With permissions,
some agents can choose to share internal articles—so they don't have to copy and paste articles that aren't published or are used
internally—, while other agents share only published, external articles.
Ensure that these setup requirements are met.
• To share articles in emails, Email-to-case must be enabled. The case page layout has the SendEmail action. HTML Body or Text must
be in the SendEmail layout.
• To share articles in social posts, Social Customer Service is enabled. You have a social account, and the Social channel is in the case
page layout.
• To share articles in chat or messaging conversations, configure Chat or Messaging and add the channel to the page layout.
Note: If the lightning page has a CaseArticle related list, the page reloads while using the Insert Article into Email action, which
can cause the email publisher action to reload and lose unsaved email content. To avoid this problem, you can either remove the
Case Article related list from the lightning page, or attach the article first and then start the email publisher action.
Note: This feature isn’t available in Essentials edition because record types must be enabled to configure communication channel
mappings.
1. From the Object Manager, choose the Knowledge object.
2. Under Communication Channel Mappings, click New.
3. Enter a label and name.
4. Add the desired channels to the Selected Channels list.
23
Create a Knowledge Base with Salesforce Knowledge Set Up Actions to Insert Articles into Channels in Lightning
Knowledge
Each channel has a different context. Create communication channel mappings for multiple channels only when those channels
have the same content needs. For example, you can share rich text fields in emails but not other channels. We recommend choosing
or creating text fields designated for channel use.
6. Choose whether to include field labels and related files with inserted articles.
By default, field labels are included with inserted articles in all channels and related files are attached to emails. When Files are
attached, agents can still detach files before they send the email.
• To hide field labels, select Omit field labels.
• To skip file attachments, select Don't attach related files to emails.
7. Click Save.
The appropriate action appears in the Knowledge component and article related lists in cases when you save a communication
channel mapping for the channel.
8. (Optional) To let users share the contents of internal articles, enable Share internal Knowledge articles externally under App
Permissions for the profile or permission set.
Your agents can now send article contents in case emails, social posts, and chat and messaging conversations. And agents can change
article contents before sending. If the article wasn't attached to the case previously, using these actions adds it to the related list.
24
Create a Knowledge Base with Salesforce Knowledge Set Up Actions to Share Article URLs in Channels and Case
Publishers
USER PERMISSIONS
To administer Salesforce
Knowledge:
• Customize Application
AND
Manage Salesforce
Knowledge
25
Create a Knowledge Base with Salesforce Knowledge Use Your Lightning Knowledge Base
26
Create a Knowledge Base with Salesforce Knowledge Authoring Actions in Lightning Knowledge
You can also search for articles using the Knowledge component for the Lightning Service Console. Advanced Search for prefiltering
searches is also available with the Knowledge component.
SEE ALSO:
How Einstein Search Works
27
Create a Knowledge Base with Salesforce Knowledge Authoring Actions in Lightning Knowledge
SEE ALSO:
Lightning Knowledge User Access
28
Create a Knowledge Base with Salesforce Knowledge Authoring Actions in Lightning Knowledge
Change Owner Set the article version's owner. The owner Draft
can be a user or a queue. Owners must have
permission to read articles.
Change Record Type Assign a new record type. This action can Draft
affect the page layout and available fields.
Submit for Approval Send the article for approval and assign an Draft
approver. Approvals must be enabled.
Submit for Translation Submit the article to the translation queue Draft, Published
or assign to a user. Multiple languages must
be enabled.
29
Create a Knowledge Base with Salesforce Knowledge Use the Lightning Knowledge Component
30
Create a Knowledge Base with Salesforce Knowledge Use the Lightning Knowledge Component
31
Create a Knowledge Base with Salesforce Knowledge Use the Lightning Knowledge Component
Your org must have the relevant channel configured, such as email, social, or chat. Salesforce Knowledge is
1. From the Knowledge component or articles related list, select one of these actions: available in Essentials and
Unlimited Editions with
a. To insert URLs in Salesforce Classic, select Attach and share article or Share article for
Service Cloud.
the Salesforce or Experience Cloud site you want. Email is the default action, but you can
switch to the social or Experience Cloud action in the case feed before inserting the URL. Salesforce Knowledge is
available for an additional
b. To insert URLs in emails Lightning Experience, select Insert URL into Email and then cost in: Professional,
choose the Salesforce or Experience Cloud site. Enterprise, Performance,
c. To insert URLs in chat and messaging conversations in Lightning Experience, select Insert and Developer Editions. For
URL into Conversation and then choose the Salesforce or Experience Cloud site. more information, contact
your Salesforce
d. To insert URLs into social feeds in Lightning Experience, select Insert URL into Social Post
representative.
and then choose the Salesforce or Experience Cloud site.
The article link is inserted at the cursor position.
USER PERMISSIONS
2. Click Insert URL.
To share article links in the
Keep these considerations in mind:
case feed:
• Articles must be published. These actions aren’t available for draft and archived articles. • Edit on Case
• Articles must be shared publicly, meaning they are visible in the Public Knowledge Base, or to AND
customers or partners. Read on Knowledge
• You can post an article link from any Salesforce or Experience Cloud site in the selected list,
even if the article isn’t visible in the Salesforce or Experience Cloud site or if the customer doesn’t
have access. The agent must confirm that the article is available in the Salesforce or Experience Cloud site before sharing it with the
customer.
• If the article wasn’t attached to the case previously, using these actions adds it to the related list.
32
Create a Knowledge Base with Salesforce Knowledge Smart Links to Salesforce Knowledge Articles
USER PERMISSIONS
To create articles:
• Manage Articles
AND
Read and Create on the
article type
33
Create a Knowledge Base with Salesforce Knowledge Smart Links to Salesforce Knowledge Articles
USER PERMISSIONS
To create articles:
• Manage Articles
AND
Read and Create in the
user profile
5. Optional: To specify how the smart link opens in public sites and Salesforce Classic, select the target from the dropdown.
6. Optional: To specify how the link opens in Lightning Experience apps and consoles, select the Lightning target.
7. Click Insert Link.
Smart links use more characters than what is displayed in the editor. If you see an error that you have surpassed the character limit,
have your administrator increase the limit.
34
Create a Knowledge Base with Salesforce Knowledge Smart Links to Salesforce Knowledge Articles
35
Create a Knowledge Base with Salesforce Knowledge Smart Links to Salesforce Knowledge Articles
36
Create a Knowledge Base with Salesforce Knowledge Smart Links to Salesforce Knowledge Articles
To view articles:
• Lightning Knowledge
User
AND
Read on the Knowledge
Base object
AND
Read on URL Name field
https://example.lightning.force.com/lightning/o/Knowledge__kav/list?filterName=00BB00028DpSU,
the domain is example.lightning.force.com.
4. In the text file, append the path for the Lightning Knowledge article after your domain.
For example, after your domain string, add /lightning/articles/KnowledgeBaseName/, where the Knowledge base
name is the label for the object that contains your articles. By default, the label is Knowledge.
If your domain ends in .com, your URL now looks like this:
https://example.lightning.force.com/lightning/articles/Knowledge/
5. In the article record, locate the URL Name field, and copy the contents to the end of your new URL.
Note: The article URL is case-sensitive, so confirm that the /lightning/articles/KnowledgeBaseName/ portion
of the URL and the capitalization of your article’s URL name is correct.
The static URL looks something like this:
https://cunning-elephant.lightning.force.com/lightning/articles/Knowledge/My-knowledge-article
6. Optional: Specify the article’s language using the ISO code.
The format for adding the language parameter string is:
37
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
SalesforceDomain/lightning/articles/KnowledgeBaseName/URLName?language=xx_XX
For example, if the URL name is shipping-faq and you want to link to the version in French, your static URL looks like this:
https://cunning-elephant.lightning.force.com/lightning/articles/Knowledge/shipping-faq?language=fr_FR
If the URL name is different for each language, use the version-specific name and don’t add the language code.
Tip: The Knowledge Base Dashboards and Reports AppExchange package provides over two Salesforce Knowledge is
dozen reports that help you monitor the knowledge base and analyze usage metrics. available in Essentials and
the Unlimited Edition with
Service Cloud.
Create a Folder for Article Reports
Create a public folder where you can store article reports for your users. Salesforce Knowledge is
available for an additional
Create a Report Type for Article Reports cost in: Professional,
Create a custom report type to report on Salesforce Knowledge article data. Enterprise, Performance,
Create an Article Report and Developer Editions. For
more information, contact
Run your custom report on your Salesforce Knowledge articles and save them to your article
your Salesforce
reports folder.
representative.
Fields Available on Salesforce Knowledge Reports
The fields you can use in a knowledge report depend on the type of information you are reporting
USER PERMISSIONS
on.
To create or update custom
report types:
• Manage Custom Report
Types
To create a public reports
folder:
• Manage Public Reports
38
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
Select read/write if you want users to be able to add and remove reports.
Salesforce Knowledge is
5. Choose a folder visibility option. available in Essentials and
the Unlimited Edition with
6. Click Save. Service Cloud.
Reports you store in this folder are available on the Reports tab. Salesforce Knowledge is
available for an additional
cost in: Professional,
Enterprise, Performance,
and Developer Editions. For
more information, contact
your Salesforce
representative.
USER PERMISSIONS
39
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
Salesforce Knowledge is
Primary Object Related Objects Description
available in Essentials and
Knowledge Compare information, such as creation Unlimited Editions with
• Knowledge Versions
(Lightning dates, audience visibility, and the Service Cloud.
• Feed: Knowledge
Knowledge) number of associated cases across record Salesforce Knowledge is
types. To access history and custom available for an additional
fields, add Knowledge Versions as a cost in: Professional,
secondary object. Enterprise, Performance,
and Developer Editions. For
If you changed the name of your
more information, contact
knowledge base, the custom label shows
your Salesforce
here.
representative.
40
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
Report types for the search, view, vote, and version history objects don’t have secondary relationships.
Table 2: Report Types for Search, Views, Votes, and Version History
Primary Object Description
Knowledge Search Activity • Analyze the number of searches per day, month, or year for
each channel and language.
• For each search, see the date, ID, and title of the article that
was clicked.
• See which keywords users are looking for in your knowledge
base.
• For each keyword, see the average number of results, and
articles that appear in the search results.
• For each article, see the average number of clicks, and unique
users who clicked it.
Knowledge Keyword Search See which keywords users are looking for in your knowledge
base. Keyword data is only available for Salesforce Classic.
Article Version History Compare information about individual article versions, such as
their creation dates, published channels, and number of
associated cases.
Knowledge Article Views Analyze the number of views per day, month, or year for each
channel and role.
Knowledge Article Votes Analyze the number of votes per day, month, or year for each
channel and role.
Knowledge Article Searches Analyze the number of searches per day, month, or year for each
channel and role. Searches aren’t differentiated between internal
and external, and all searches are logged as Internal App. Searches
in Experience Cloud sites aren’t checked.
Knowledge Article Searches’ report results are limited to searches
performed using Classic Knowledge.
41
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
In the Store in Category dropdown menu, we recommend choosing Customer Support Reports or Other Reports. This category
is where users find the custom report type on the Reports tab.
Note: An article’s score is calculated slightly differently in the API than it is in a custom report. We recommend standardizing on
one or the other and not attempting to use both.
Limitations and Considerations
• It takes 24 hours for a report to generate.
• Based on relevancy, your report only shows up to 300 results daily and up to the past 30 days of the current month. See How Search
Results are Ordered.
– After a new month, past daily data aggregates to the top 300 results per month for the current year. After a new year, past
monthly data aggregates to the top 300 results per year.
• Fields and custom report types are supported for Knowledge Search Activity. See Fields Available on Salesforce Knowledge Reports
• You can add and remove fields in custom reports. See Design the Field Layout for Reports Created from Your Custom Report Type
42
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
43
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
Important: Where possible, we changed noninclusive terms to align with our company Available in: Salesforce
value of Equality. We maintained certain terms to avoid any effect on customer Classic (not available in all
orgs) and Lightning
implementations.
Experience
The following tables list the available fields by primary object for Salesforce Knowledge reports.
Salesforce Knowledge is
available in Essentials and
Fields Available on Article types (Knowledge in Salesforce Classic) Reports the Unlimited Edition with
The Article Type primary object allows you to add a secondary object of the article type version. Service Cloud.
Salesforce Knowledge is
Table 3: Article Type Report Primary Object Fields
available for an additional
Field Description cost in: Professional,
Enterprise, Performance,
Archived By User who archived the article.
and Developer Editions. For
Archived Date Date the article was archived. more information, contact
your Salesforce
Article Number Unique number automatically assigned to the article. representative.
Article Type ID The ID associated with the article type.
Custom fields Any custom fields created on the article types. Add the article type's
version as a secondary object to access any custom fields for the
article type.
Last Modified Date the article was last changed. The last modified date of a draft
Date article is the time the draft was saved. The last modified date of a
published article is time the article was most recently published.
44
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
Field Description
Last Published Date Date the article was last published.
Next Review Date The date when the article must next be reviewed for accuracy.
Note: Currently you can’t use Knowledge Article Version and Last Modified Date in the same report.
Created Date Date the current article version was created. If the article has been published more than one
time, Created Date is the latest draft date. To create reports that use the original article
creation date, first create a Custom Report Type that joins the Knowledge Article (__ka) and
Knowledge Article Version (__kav) objects for a given article type to allow for use of the created
date on the record in the Knowledge Article object, rather than the one for the Knowledge
Article Version record.
Custom fields Any custom fields created on the article types. Add the article type's version as a secondary
object to access any custom fields for the article type.
File fields aren't supported for reports and report types with Knowledge.
Is Primary Language Indicates that the article is not a translation, but the original article.
Last Modified Date Date the article was last changed. The last modified date of a draft article is the time the draft
was saved. The last modified date of a published article is time the article was most recently
published.
Out of Date Indicates that the primary article has been updated since this translation was published.
Publication Status Indicates whether the article or translation is in progress (draft), published, or archived.
45
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
Field Description
Translation Exported Date the article was exported for translation.
Date
Visible in Customer Indicates that the article is published in the Customer Portal.
Visible in Internal App Indicates that the article is published in the internal app (Articles tab).
Visible in Partner Indicates that the article is published in the partner portal.
Visible in Public Indicates that the article is published in the public knowledge base.
Knowledge Base
Field Description
Article Number Unique number automatically assigned to the article.
Created Date Date the current article version was created. If the article has been published more than one
time, Created Date is the latest draft date. To create reports that use the original article
creation date, first create a Custom Report Type that joins the Knowledge Article (__ka) and
Knowledge Article Version (__kav) objects for a given article type to allow for use of the created
date on the record in the Knowledge Article object, rather than the one for the Knowledge
Article Version record.
Last Modified Date Date the article was last changed. The last modified date of a draft article is the time the draft
was saved. The last modified date of a published article is time the article was most recently
published.
46
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
Field Description
Published Version Owner The user or queue that owns the published version of an article.
Visible in Customer Indicates that the article is published in the Customer Portal.
Visible in Internal App Indicates that the article is published in the internal app (Articles tab).
Visible in Partner Indicates that the article is published in the partner portal.
Visible in Public Indicates that the article is published in the public knowledge base.
Knowledge Base
Field Description
Channel The channel that’s applicable to the article. Possible values are All Channels, Internal
App, Customer, Partner, and Public Knowledge Base.
Count The number of article searches applicable to the duration shown (day, month, or year).
Cumulative Count The total number of article searches for the history of the record.
Date Last date on which an article search took place for the record. All rows represent a date, channel,
and role combination.
Duration The time period the search count is applied to. Possible values are Daily, Monthly, and
Yearly. For example, a record where the Count is 70 and the Duration is Monthly indicates
that 70 searches took place over the past month. Totals are aggregated daily for the current
month, monthly from the past full month through the past full year, and yearly beyond that.
Related Role Name of the role that applies to the record. Each row in the report represents searches per
channel per role.
Field Description
Archived By User who archived the article.
47
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
Field Description
Article Type The article type associated with the article.
Created Date Date the current article version was created. If the article has been published more than one
time, Created Date is the latest draft date. To create reports that use the original article
creation date, first create a Custom Report Type that joins the Knowledge Article (__ka) and
Knowledge Article Version (__kav) objects for a given article type to allow for use of the created
date on the record in the Knowledge Article object, rather than the one for the Knowledge
Article Version record.
Is External Data Indicates that the article came in from (or: was sourced from) an external system.
Is Primary Language Indicates that the article is not a translation, but the original article.
Last Modified Date Date the article was last changed. The last modified date of a draft article is the time the draft
was saved. The last modified date of a published article is time the article was most recently
published.
Date the article was last published. Date the article was last published.
Next Review Date The date when the article must next be reviewed for accuracy.
Out of Date Indicates that the primary article has been updated since this translation was published.
Owner The user or queue that owns a published, draft, or archived version of an article.
Publication Status Indicates whether the article or translation is in progress (draft), published, or archived.
48
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
Field Description
Translation Imported Date the translation was imported.
Date
Visible in Customer Indicates that the article is published in the Customer Portal.
Visible in Internal App Indicates that the article is published in the internal app (Articles tab).
Visible in Partner Indicates that the article is published in the partner portal.
Visible in Public Indicates that the article is published in the public knowledge base.
Knowledge Base
Field Description
Channel The channel that’s applicable to the article. Possible values are All Channels, Internal
App, Customer, Partner, and Public Knowledge Base.
Count The number of article views applicable to the duration shown (day, month, year).
Cumulative Count The total number of article views for the history of the record.
Date Last date on which an article view took place for the record. All rows represent a date, channel,
and role combination.
Duration The time period the search count is applied to. Possible values are Daily, Monthly, and
Yearly. For example, a record where the Count is 70 and the Duration is Monthly indicates
that 70 searches took place over the past month. Totals are aggregated daily for the current
month, monthly from the past full month through the past full year, and yearly beyond that.
Score The article's average view rating. Scores take into account a half-life calculation. Every 15 days,
if an article has not been viewed its average rating moves up or down. This calculation ensures
that over time, older or outdated articles don't maintain artificially high or low ratings compared
to newer, more frequently viewed articles.
49
Create a Knowledge Base with Salesforce Knowledge Report on Salesforce Knowledge Articles
Field Description
Channel The channel that’s applicable to the article. Possible values are All Channels, Internal
App, Customer, Partner, and Public Knowledge Base.
Count The number of article votes applicable to the duration shown (day, month, year).
Cumulative Count The total number of article votes for the history of the record.
Date Last date on which an article vote took place for the record. All rows represent a date, channel,
and role combination.
Duration The time period the search count is applied to. Possible values are Daily, Monthly, and
Yearly. For example, a record where the Count is 70 and the Duration is Monthly indicates
that 70 searches took place over the past month. Totals are aggregated daily for the current
month, monthly from the past full month through the past full year, and yearly beyond that.
Field Description
Channel The channel that’s applicable to the article. Possible values are All Channels, Internal
App, Customer, Partner, and Public Knowledge Base.
Count The number of keyword searches applicable to the duration shown (day, month, year).
Date Last date on which a keyword search took place for the record. All rows represent a date, channel,
and role combination.
Duration The time period the search count is applied to. Possible values are Daily, Monthly, and
Yearly. For example, a record where the Count is 70 and the Duration is Monthly indicates
that 70 searches took place over the past month. Totals are aggregated daily for the current
month, monthly from the past full month through the past full year, and yearly beyond that.
Found Indicates whether the keyword shown was found during a search of the knowledge base.
Keyword Search term used to search published articles in the knowledge base.
Field Description
Average Click Rank The order in which the article appeared in search results when results are sorted by relevance
and when readers clicked it from the list of results.
50
Create a Knowledge Base with Salesforce Knowledge Import External Content into Salesforce Knowledge
Field Description
Channel The channel that’s applicable to the article. Possible values are All Channels, Internal
App, Customer, Partner, and Public Knowledge Base.
Clicked Article Title The title of the clicked article taken when the search results are sorted by relevance by the reader.
Duration The time period the search count is applied to. Possible values are Daily, Monthly, and
Yearly. For example, a record where the Count is 70 and the Duration is Monthly indicates
that 70 searches took place over the past month. Totals are aggregated daily for the current
month, monthly from the past full month through the past full year, and yearly beyond that.
Activity totals are collected nightly and aren’t in real time.
Number of Results The number of search results that were returned for the search term. If Duration is also included,
this value is aggregated based on the time period specified.
Number of Searches The number of searches for the duration that’s shown (day, month, or year).
Number of Users The number of individual users who clicked the article.
Search Term The first 100 characters of the search term that was used to search published articles in the
knowledge base.
Note: If you are looking for instructions on importing translated articles that you've sent to Available in: Salesforce
a localization vendor, see Import Translated Articles on page 68. Classic (not available in all
orgs) and Lightning
Consider these best practices and requirements as you prepare your articles for import. Experience
• Test your import using a small set of articles.
Salesforce Knowledge is
• Sort your articles by information type. In Classic, import each article type individually. In Lightning
available in Essentials and
Knowledge, you can import articles of multiple record types at once.
Unlimited Editions with
• Ensure that each information type has a corresponding record type or, in Salesforce Classic, an Service Cloud.
article type that matches its structure and content. Create a list of fields available in each article
Salesforce Knowledge is
or record type, and verify that your article contents match the structure of each type. available for an additional
• Verify that the article's field-level security settings allow you to edit the fields. cost in: Professional,
• Use rich text fields to import HTML content. Prepare the .html files with the content for each Enterprise, Performance,
rich text area field. Ensure that the HTML is compliant with the tags and attributes supported and Developer Editions. For
in the rich text area field. more information, contact
your Salesforce
• The article importer does not support subfields. If you have fields within fields, adjust your representative.
structure and content before importing into Salesforce Knowledge.
51
Create a Knowledge Base with Salesforce Knowledge Import External Content into Salesforce Knowledge
52
Create a Knowledge Base with Salesforce Knowledge Create a .csv File for Article Import
Important: Where possible, we changed noninclusive terms to align with our company Available in: Salesforce
value of Equality. We maintained certain terms to avoid any effect on customer Classic (not available in all
orgs) and Lightning
implementations.
Experience
1. Create a .csv file to import articles.
Salesforce Knowledge is
Note: In Salesforce Classic, you import each article type separately, so you create a .csv
available in Essentials and
file for each article type. In Lightning Knowledge, you can import articles of different types
Unlimited Editions with
in one .csv file and set the record type during import. Service Cloud.
• There can only be one .csv file and one .properties file. Salesforce Knowledge is
• The .csv file and the .properties file must be in the root directory. available for an additional
• The compression process must preserve the folder and subfolder structure. cost in: Professional,
Enterprise, Performance,
• The .zip file name can’t contain special characters.
and Developer Editions. For
• The .zip file can't exceed 20 MB and the individual, uncompressed, files within the zip file more information, contact
can't exceed 10 MB. your Salesforce
• .csv files can't have more than 10,000 rows, including the header row. Therefore, you can representative.
have a maximum of 9,999 articles and translations.
• .csv file rows can't exceed 400,000 characters. USER PERMISSIONS
• .csv file cells can't exceed 32 KB.
To import articles:
• Each article in the .csv file can't have more than 49 translations. • Manage Salesforce
Knowledge
2. In the first row, specify the article's fields and metadata, such as title, language, data categories,
and channels. AND
Manage Articles
Enter one item in each column. You can use the following fields and metadata to import content.
AND
Field or data Description Manage Knowledge
Article Import/Export
isMasterLanguage Identifies the article as a primary (1) or
AND
translation (0). Required to import articles with
translations, however, Read, Create, Edit, and
Delete on the article type
isMasterLanguage can’t be in a .csv
file to import articles without translations. A
translation must follow its primary article so
that it’s associated with the primary article
preceding it.
Standard and custom fields Refer to an article type's standard fields using
field names and refer to custom fields using
53
Create a Knowledge Base with Salesforce Knowledge Create a .csv File for Article Import
Rich text area field Use the rich text area custom fields to import .html files or images.
Refer to an article type's rich text area field using its API name.
File field Use the file custom fields to import any file type (.doc, .pdf, .txt).
Refer to an article type's file field using its API name.
Data category groups To categorize the imported articles, use category groups. Refer
to a category group using its unique name prefixed with
datacategorygroup.. For example, use
datacategorygroup.Products to specify the category
group Products.
Channel To specify where the imported articles are available, use the
keyword Channels.
Important: All file names are case-sensitive and must exactly match what is in the .csv file.
Consideration Notes
Standard or custom fields Enter the articles' data for each field, except for rich text area
fields where you must enter the relative path to the
corresponding .html file in your .zip file.
The article importer does not support subfields. If you have fields
within fields, adjust your structure and content before importing
into Salesforce Knowledge.
Rich text area field Always enter the .html file path relative to the location of the
.csv file. Never enter raw text. If the specified path doesn't exist,
the related article isn't imported. Note the following information
about importing HTML and images.
• We recommend that you create one folder for the .html files
(for example, /data) and another for images (for example,
/data/images).
54
Create a Knowledge Base with Salesforce Knowledge Create a .csv File for Article Import
Consideration Notes
File field In Lightning Knowledge, custom file fields are replaced with
Salesforce Files.
Enter the path relative to the file's location. If the specified path
doesn't exist, the related article isn't imported. Note the following
information about importing files.
• We recommend that you create a folder for your files (for
example, /files).
• Each file must not exceed 5 MB.
Category groups Use unique category names to categorize articles. Use the plus
symbol (+) to specify more than one category. For example,
Laptop+Desktop. Note the following information about
data category groups.
• Leaving the cell row empty causes your article to be set to
No Categories.
• If you specify a category and its parent (for example,
Europe+France) the import process skips the child category
France and keeps the parent category Europe, because
application of a parent category implicitly includes the
category's children.
• When importing articles with translations and associated
data categories, only the primary article retains the data
categories. The article translations have no associated data
category upon import.
55
Create a Knowledge Base with Salesforce Knowledge Create a .csv File for Article Import
Consideration Notes
Channels Specify articles' channels using the keywords.
• application for Internal App. If you don't specify a
channel, application is the default.
• sites for Public Knowledge Base.
• csp for Customer.
• prm for Partner.
Use the plus (+) symbol to specify more than one channel (for
example, application+sites+csp to make an article
available in all channels).
When importing articles with translations and associated
channels, only the primary article retains the channels. The article
translations have no associated channels upon import.
Example: The following example shows .csv files to import product offer articles. The first file imports articles without translations.
The second .csv file imports articles with translations. The .csv files contain titles, summaries, and descriptions. They also classify
the articles in the category group Products and make them available for specific channels. The description__c field is a
rich text area and only supports paths to .html files. The summary__c field is a text field and only supports raw text. The summary
field is optional, and summary__c is left blank for some rows. The RecordTypeId sets the Product Offer record type for
two of the articles, and the “Best Desktop Computer Deals” article is an FAQ. Example articlesimport.csv file:
Title,summary__c,description__c,datacategorygroup.Products,Channels,RecordTypeId
Free Digital Camera Offer, Get the new Digital
Camera.,data/freecam.html,Consumer_Electronics,application+csp,012RM0000002Q5M
Best Desktop Computer Deals,,data/bestdeals.html,Desktop,application+csp,012RM0000002Q5g
Free Shipping on Laptop and
Desktops,,data/freeship.html,Laptop+Desktops,application+csp,012RM0000002Q5M
isMasterLanguage,Title,summary__c,description__c,datacategorygroup.Products,Channels,Language,RecordTypeId
1,Free Digital Camera Offer,Get the new Digital
Camera,data/freecam.html,Consumer_Electronics,application+csp,en,012RM0000002Q5M
0,Libérer l'Offre d'Appareil photo digital,Obtenir le nouvel Appareil photo
digital.,data/freecam/fr.html,,,fr,012RM0000002Q5M
0,Liberte Oferta Digital de Cámara,Consiga la nueva Cámara
Digital.,data/freecam/es.html,,,es,012RM0000002Q5M
1,Best Desktop Computer
Deals,,data/bestdeals.html,Desktops,application+csp,en,012RM0000002Q5g
0,Meilleures Affaires d'ordinateurs de
bureau,,data/bestdeals/fr.html,,,fr,012RM0000002Q5g
0,Mejores Tratos de ordenadores,,data/bestdeals/es.html,,,es,012RM0000002Q5g
1,Free Shipping on Laptop and
56
Create a Knowledge Base with Salesforce Knowledge Create a .csv File for Article Import
Desktops,,data/freeship.html,Laptops+Desktops,application+csp,en,012RM0000002Q5M
0,Libérer Affranchissement sur Portables et
Ordinateurs,,data/freeship/fr.html,,,fr,012RM0000002Q5M
0,Liberte Franqueo en Laptops y Ordenadores,,data/freeship/es.html,,,es,012RM0000002Q5M
1 Free Digital Camera Offer Get the new Digital data/freecam.html Consumer_ Electronics application en_US 012RM0000002Q5M
Camera. +csp
Specify your import parameters in a property file using key names and corresponding values.
57
Create a Knowledge Base with Salesforce Knowledge Set Article Import Parameters
Note: Specify only Java date formats. Make sure that the date format is not misleading. AND
For example, if you choose the format yyyy-M-d, a date entered as 2011111 can be Read, Create, Edit, and
interpreted as 2011-01-11 or 2011-11-01. Specify at least: Delete on the article type
DateFormat=yyyy-MM-dd
DateTimeFormat=yyyy-MM-dd HH:mm:ss
CSVEncoding=ISO8859_15_FDIS
58
Create a Knowledge Base with Salesforce Knowledge Create an Article .zip File for Import
CSVSeparator=,
RTAEncoding=UTF-8
2. From Setup, enter Import Articles in the Quick Find box, then select Import Articles.
3. Then:
a. In Lightning Knowledge, select Knowledge Base from the dropdown.
b. In Salesforce Classic, select the appropriate article type for the imported articles.
4. To select the .zip file, click Browse, and then click OK.
5. If your import contains translations, select Contains translations?.
Note: When this option is selected, your .csv file must contain the isMasterLanguage, Title, and Language columns. If this
option isn’t selected, your .csv file can’t contain the isMasterLanguage, but it must contain the Title column. The Language
column is optional when importing articles without translations.
59
Create a Knowledge Base with Salesforce Knowledge Article and Translation Import and Export Status
When the import is complete, you receive an email with an attached log that provides details about the import.
Processing The import or export is processing. If you want to stop the process, or if the
process has been stopped, call Salesforce
Support. Salesforce can stop an import or
export if a maintenance task has to be
performed or the import or export exceeds
one hour.
Stopping/Stopped Salesforce Support is stopping or has Contact Salesforce Support to restart the
already stopped the import or export. import or export, or click Cancel to cancel
an entry.
Aborted The import or export has been canceled. You can restart an import or export, delete
The articles that have already been an entry by clicking Del, or receive the
imported or exported successfully are completion email and check the details of
available in Salesforce. your import or export by clicking Email Log.
60
Create a Knowledge Base with Salesforce Knowledge Support Knowledge Articles in Multiple Languages
61
Create a Knowledge Base with Salesforce Knowledge Work with Articles and Translations
Salesforce Knowledge is
available in Essentials and
Unlimited Editions with
Service Cloud.
Salesforce Knowledge is
available for an additional
cost in: Professional,
Enterprise, Performance,
and Developer Editions. For
more information, contact
your Salesforce
representative.
62
Create a Knowledge Base with Salesforce Knowledge Work with Articles and Translations
The Article Management tab is your home page for working with articles throughout the publishing
USER PERMISSIONS
cycle as they are created, assigned to collaborators, translated, published, archived, and deleted.
Agent’s need the correct permissions on an article's article type and article actions to complete To create, edit, or delete
some tasks. For more information see, Assign Article Actions to Public Groups. articles:
• Manage Articles
To specify which articles appear in the list view, use the following options in the sidebar:
AND
• In the View area, select Draft Articles, Published Articles, or Archived Articles. You can filter draft Create, Read, Edit, or
articles by those assigned to you or those assigned to anyone (all draft articles for your Delete on the article type
organization).
To publish or archive
• If applicable, click the Translations tab in the View area, and select Draft Translations or Published
articles:
Translations. You can filter draft translations by those assigned to you, those assigned to a
• Manage Articles
translation queue, or those assigned to anyone (all draft translations in your organization).
AND
• To refine the current view, first select an article language filter and then enter a keyword or
phrase in the Find in View field. The Find in View field is inactivated for archived Create, Read, Edit, and
Delete on the article type
articles.
• In the Filter area, choose a category from a drop-down menu to filter the current view. To submit articles for
translation:
To modify which columns display, click Columns. The following columns are available depending
• Manage Articles
on what is selected in the view area:
AND
Column Description View Create, Read, and Edit
on the article type
Action Displays the actions available All articles and translations
for the article or translation. To submit articles for
approval:
All User Ratings Average ratings from users of Published and archived articles • Permissions vary
your internal Salesforce and published translations depending on the
organization, Customer Portal, approval process
partner portal, and your public settings
knowledge base.
Assigned to The user who is assigned work Draft articles and translations
on the article.
Assignment Details Instructions for the assignment. Draft articles and translations
Assignment Due Date Date to complete work on the Draft articles and translations
article. If the date has passed, it
displays in red.
Created Date Date the article was written. Draft articles and translations
Customer Ratings Average ratings from users on Published and archived articles
the Customer Portal and the and published translations
public knowledge base.
63
Create a Knowledge Base with Salesforce Knowledge Work with Articles and Translations
Last Action The date and type of the last action taken Draft and published translations
on a translation.
Last Modified by Last person to update the article. Draft articles and translations
Last Modified Date Last date the article was edited. All articles and translations
Most Viewed by all Users Average views from users of your internal Published and archived articles and
Salesforce organization, Customer Portal, published translations
partner portal, and your public knowledge
base.
Most Viewed by Customers Average views from users on the Customer Published and archived articles and
Portal and the public knowledge base. published translations
Most Viewed by Partners Average views from users on the partner Published and archived articles and
portal and the public knowledge base. published translations
Partner Ratings Average ratings from users of your partner Published and archived articles and
portal and public knowledge base. published translations
Published Date Date the article was published. Published articles and translations
Source Article The original article before translation. Click Draft and published translations
the article title to view the article.
Translated Article The title of the translated article. Click the Draft and published translations
translation title to edit the translation.
Translation Status Status in the translation cycle. Hover over Articles submitted for translation
the icon to view the status for each
translation. If a translation has been
published, there are separate tabs for draft
and published translations.
Validation Status Shows whether the content of the article All articles and translations, when enabled
has been validated.
Version The article’s version. Hover over the version All articles
number to view details about other versions
of the article.
64
Create a Knowledge Base with Salesforce Knowledge Work with Articles and Translations
• Publish an article or translation by selecting it and clicking Publish.... If you have the “Publish Articles” article action and an approval
process is set up for an article, you see both Publish... and Submit for Approval buttons.
• Modify an article or translation by clicking Edit next to it.
• See how an article or translation appears for end users by clicking Preview next to it. From the Channel drop-down menu you
can choose any channel where an article is visible except the public knowledge base.
Note: Voting and Chatter information is not available when previewing a Knowledge article.
• See a list of an article’s or translation’s other versions by clicking its version number.
• Change the owner of an article or translation by selecting it and clicking Assign....
• Send an article or translation to the Recycle Bin by selecting it and clicking Delete.
• Archive a published article or translation by selecting it and clicking Archive....
• Submit articles for translation by selecting them and clicking Submit for Translation. You can set dues dates for each language
and assign it to another agent or a queue for export to a translation vendor.
• Go directly to the Setup pages for exporting and importing articles for translation with Export Articles for Translation and Import
Article Translations in the Related Links area.
65
Create a Knowledge Base with Salesforce Knowledge Work with Articles and Translations
66
Create a Knowledge Base with Salesforce Knowledge Work with Articles and Translations
11. Select the delimiter for the .csv files. The delimiter is the separator for columns when the file is converted to table form. Your options
are tab (default) or comma.
12. Click Export Now.
67
Create a Knowledge Base with Salesforce Knowledge Work with Articles and Translations
You’re notified by email when your export is complete. You can also check the status of your export by viewing the Article Import and
Export Queue. From Setup, enter Article Imports and Exports in the Quick Find box, then select Article Imports
and Exports.
Unzip the exported files, but retain the file structure for a successful import.
2. Choose how Salesforce handles translations after they're imported. Salesforce Knowledge is
available in Essentials and
Option Description the Unlimited Edition with
Service Cloud.
Review imported translations Add imported translations to a queue from
on the Article Management tab which agents can review them. Salesforce Knowledge is
before publishing available for an additional
cost in: Professional,
Publish translations Publish imported translations without reviews. Enterprise, Performance,
immediately on import and Developer Editions. For
more information, contact
your Salesforce
representative.
3. Select the language of the articles you're importing.
4. If you chose to have articles reviewed before publishing, select to send the files to a user or a
queue. USER PERMISSIONS
5. Click Browse, choose the translation .zip file to upload, and click Open. To export articles:
You must place all the translation files (meaning, those exported from Salesforce and translated • Manage Salesforce
by your vendor) in a folder whose name is the same as the language code. For example, put Knowledge
French articles in an fr folder. Zip up this folder to create your import file. AND
Manage Articles
Important: To import translated articles successfully, verify that the file structure and
their extensions match the file structure and extensions of files exported from Salesforce AND
Knowledge for translation. For example, if the target language is French, the file structure Manage Knowledge
begins as follows: Article Import/Export
7. Click Finish.
68
Create a Knowledge Base with Salesforce Knowledge Publish Articles and Translations
An email notification is sent to you when your import finishes. You can view the status of your import from Setup by entering Article
Imports and Exports in the Quick Find box, then selecting Article Imports and Exports.
69
Create a Knowledge Base with Salesforce Knowledge Translate Articles in Lightning Knowledge
70
Create a Knowledge Base with Salesforce Knowledge Translate Articles in Lightning Knowledge
You can’t change channels on an article translation and then publish the article. Doing so generates an error.
When you change channels on an article, make sure that the channels on the article’s translations match the new channels. Also, publish
translations before you publish the primary language version.
When accessing a draft article with a translation via its URL, the article defaults to your org’s primary language. If no primary language
is set, the draft article is shown in the viewing user’s language, when available.
When you send a draft article out for approval, it gets locked and you cannot perform authoring actions.
To add authoring actions to a page layout created specifically for translations:
1. Click the Object Manager tab and select the Knowledge object.
2. Select a page layout from the Page Layout list. For example, a page layout that has already been created for translated articles.
3. From Mobile and Lightning Actions, drag Publish, Edit, Delete, Assign, and Submit for Translation actions onto the page.
4. Save your changes.
71
Create a Knowledge Base with Salesforce Knowledge Archive Articles and Translations
Tip: To cancel a scheduled archive, click Cancel Archive on the article detail page.
72
Create a Knowledge Base with Salesforce Knowledge Set Up Primary Article and Translation Side-By-Side View
To set up:
• Manage Salesforce
Knowledge AND
Manage Articles
To view articles:
• Allow View Knowledge
73
Create a Knowledge Base with Salesforce Knowledge Define Data Categories for Your Lightning Knowledge Articles
74
Create a Knowledge Base with Salesforce Knowledge Work with Data Categories
Maximum number of levels in data category 5 levels in a data category group hierarchy
group hierarchy
Maximum number of data categories from a 8 data categories from a data category group
data category group assigned to an article assigned to an article
Data category assignments for translated articles Data categories can be added only to the
primary article. Data categories for translations
are inherited from the primary article and can’t
be added.
In an answers zone, data categories help organize questions for easy browsing. Each answers zone supports one category group. For
example, if you're a computer manufacturer you might create a Products category group that has four sibling categories: Performance
Laptops, Portable Laptops, Gaming Desktops, and Enterprise Desktops. On the Answers tab, zone members can assign one of the four
categories to each question and then browse these categories for answers to specific questions.
Example:
Logical Classification of Articles
As a knowledge base administrator, you can organize your knowledge base articles into a logical hierarchy and tag articles
with the attributes that are significant to your business.
75
Create a Knowledge Base with Salesforce Knowledge Work with Data Categories
The next figure now illustrates an agent finding that same article published on the Articles tab; the agent has selected Laptops
and USA respectively in the Products and Geography drop-down menus to retrieve an article that is classified with both Laptops
and USA.
76
Create a Knowledge Base with Salesforce Knowledge Work with Data Categories
When you add categories to a category group, you build a hierarchy that can contain up to five levels of depth and up to 100
categories total. Each category can have one parent, many siblings, and many children. A robust and well-organized category
hierarchy helps users find the articles that are relevant to them quickly and easily.
By default, all Salesforce Knowledge users have access to all categories; however, you can restrict category visibility by role,
permission set, or profile.
Data Category Implementation Tips
Consider the following information when planning and implementing data categories for your organization:
• You can create up to three category groups with a maximum of five hierarchy levels in each group. Each category group
can contain a total of 100 categories.
• If you want to use data categories with Answers, after creating your category group you must assign it from Setup by
entering Data Category Assignments in the Quick Find box, then selecting Data Category Assignments
under Answers. You can only assign one category group to an answers community. Salesforce Knowledge supports multiple
category groups.
• Category groups are hidden from users until they are activated. Do not activate a category group until you have finished
defining its categories and their access settings, including their visibility.
• When assigning categories to articles, you can choose up to eight categories in a category group.
• If an article has no categories, it displays only when you choose the No Filter option in the category drop-down
menu.
• When searching for articles or article translations, selecting a category automatically includes the parent and children of
that category and any grandparents, up to and including the top level. Sibling categories are not included. For example,
if a category hierarchy has the levels All Products, Switches, Optical Networks, and Metro Core, selecting “Optical Networks”
from the category drop-down menu returns articles assigned to any of the four categories. However, if the Switches
category has a sibling category called Routers, selecting “Optical Networks” does not return articles classified within Routers.
Category visibility settings may limit the specific articles you can find.
• Once visibility settings have been chosen for the categories:
– Users who are not assigned visibility can only see uncategorized articles and questions unless default category visibility
has been set up.
– For role-based visibility, Customer Portal users and partner portal users inherit the category group visibility settings
assigned to their account managers by default. You can change the category group visibility settings for each portal
role.
– If you only have access to one category in a category group, the category drop-down menu for that category group
does not display on the Articles tab.
• You can translate the labels of categories and category groups using the Translation Workbench.
77
Create a Knowledge Base with Salesforce Knowledge Create and Modify Category Groups
SEE ALSO:
Sharing Considerations for Lightning Knowledge
2. To create a category group, click New in the Category Groups section. Data categories are
By default, you can create a maximum of five category groups and three active category groups. available in all editions with
To edit an existing category group, hover your cursor over the category group name and then Knowledge except
Professional Edition.
click the Edit Category Group icon ( ).
Salesforce Knowledge is
3. Specify the Group Name up to a maximum of 80 characters. This name appears as the title available in Essentials and
of the category dropdown menu on the Article Management and Articles tabs, and, if applicable, Unlimited Editions with
in the public knowledge base. The Group Name does not appear on the Answers tab. Service Cloud.
4. Optionally, modify the Group Unique Name (the unique name used to identify the Salesforce Knowledge is
category group in SOAP API). available for an additional
5. Optionally, enter a description of the category group. cost in: Professional,
Enterprise, Performance,
6. Click Save. and Developer Editions. For
You receive an email after the save process completes. more information, contact
your Salesforce
Activating Category Groups representative.
When you add a category group, it's deactivated by default and only displays on the
administrative setup pages for Data Categories, Roles, Permission Sets, and Profiles. Keep your
USER PERMISSIONS
category groups deactivated to set up your category hierarchy and assign visibility. Until you
manually activate a category group, it does not display in Salesforce Knowledge or your answers To view the Data Categories
community. In addition to activating the category group, for answers communities you must page:
assign the category group to a zone before the categories are visible on the Answers tab. • View Data Categories in
Setup
To activate a category group so it is available to users, move the mouse pointer over the name
To create, edit, or delete
of the category group and click the Activate Category Group icon ( ). data categories:
You can now add categories to your category group. When you create a category group, Salesforce • Manage Data
automatically creates a top-level category in the group named All. Optionally, double-click All Categories
to rename it.
78
Create a Knowledge Base with Salesforce Knowledge Add Data Categories to Category Groups
79
Create a Knowledge Base with Salesforce Knowledge Filter Articles with Data Category Mapping
80
Create a Knowledge Base with Salesforce Knowledge Data Category Visibility
Note: Only the first-level categories in the category group are visible on the Answers
tab. In the Geography example, only the continent categories appear on the Answers
tab; therefore, if France is the category selected as visible in category group visibility
settings, zone members can see questions classified with Europe.
Category group visibility settings are enforced on the Answers tab, the Article Management tab, the Articles tab in all channels
(internal app, partner portal, Salesforce.com Community, and Customer Portal), and the public knowledge base. In the following
areas, users only see the categories that their visibility settings allow:
• On the Article Management tab, when creating or editing articles
• On the Article Management tab and the Articles tab, the category drop-down menu for finding articles
• On the Answers tab, the categories listed below the zone name
Initial Visibility Settings
If role, permission set, or profile data category visibility has not been set up, all users can see all data categories. However, if data
category visibility is set up, users who are not assigned data category visibility by a role, permission set, or profile, only see uncategorized
articles and questions unless you make the associated categories visible by default. Role, permission set, and profile visibility settings
restrict default visibility settings. For example, if a data category is visible by default, it is not seen by a user whose role restricts access
to that data category.
Note: If data category visibility is defined with roles, permission sets, and profiles, Salesforce uses a logical OR between the
definitions to create a visibility rule for each user.
81
Create a Knowledge Base with Salesforce Knowledge Sharing for Lightning Knowledge
SEE ALSO:
Sharing Considerations for Lightning Knowledge
82
Create a Knowledge Base with Salesforce Knowledge Choose the Sharing or Access Model for Lightning Knowledge
83
Create a Knowledge Base with Salesforce Knowledge Sharing Considerations for Lightning Knowledge
84
Create a Knowledge Base with Salesforce Knowledge Sharing Considerations for Lightning Knowledge
Limitations
The following Sharing features aren’t available for Knowledge.
• Manual sharing
• Apex sharing
85
INDEX
A L
Articles Lightning Knowledge 73
export status 60
import status 60 R
Reports
E Salesforce Knowledge fields 44
Exporting
Salesforce Knowledge status 60 S
Salesforce Knowledge
I about multiple languages 61
Importing multiple languages 66
Salesforce Knowledge status 60 reporting 44
send article content in email 23
Smart Links 34
86