You can manually create a permanent link to a Lightning Knowledge article. The link, called a permanent or static link, points to the latest version of an article in the user’s preferred language. You can embed an article link in external sites and documents to provide your users with access to the latest version.
Required Editions
| Available in Lightning Experience. View supported editions. |
| User Permissions Needed | |
|---|---|
| To view articles: |
Lightning Knowledge User AND Read on the Knowledge Base object AND Read on URL Name field |
When publishing a link to a Knowledge article, it’s important that the link continues to work when a new version of the article is created. To add a link to a Knowledge article within Salesforce, use Smart Links. When you want to publish a link in an external resource, use the format described here to create a static article link. A static link persists across versions and is based on the article’s URL name, your Salesforce domain, and a few other pieces of information.
- Open a text file to construct the URL.
- Open the article that you want to create a link for.
-
In the browser window with your article, copy your Salesforce domain from the address bar
into the text file.
For example, in the URL https://example.lightning.force.com/lightning/o/Knowledge__kav/list?filterName=00BB00028DpSU, the domain is example.lightning.force.com.
-
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/
-
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://example.lightning.force.com/lightning/articles/Knowledge/My-knowledge-article - Optional:
Specify the article’s language using the ISO code.
The format for adding the language parameter string is:
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://example.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. - Add the static article URL to your external document or page.