Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [knowledge]

Salesforce Knowledge is a knowledge base where users can easily create and manage content, known as articles, and quickly find and view the articles they need

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Is there any counterpart of replacement tokens available in other Knowledge system, in Salesforce Knowledge?

My client needs to migrate articles from old system to Salesforce Knowledge. In the source system, there is a special term of replacement token. There is a dynamic text in articles like {{...
Patlatus's user avatar
  • 17k
0 votes
1 answer
18 views

Error Draft of Knowledge Article wasn't deleted. Try again. happens when user tries to delete a draft article

When One user creates and published an article and then another user is editing this article as a draft (creates a new Draft Version), this user is unable to delete a draft article version created. ...
Patlatus's user avatar
  • 17k
0 votes
0 answers
13 views

Create report including knowledge title and topic name

We are trying to build a report to include both knowledge title and topic name. However, topic assignment doesn't give options to show related articles as well as they don't allow to traverse generic ...
Patlatus's user avatar
  • 17k
0 votes
1 answer
11 views

Knowledge Article Import Aborted status with An unexpected failure during loading has caused the import to stop in email log

We are trying to import 44,5k articles into Salesforce. We received many failures and the most obscure error so far is Aborted status with An unexpected failure in the email logs. [ERROR zip:...
Patlatus's user avatar
  • 17k
3 votes
1 answer
39 views

What is the point of having field IsVisibleInApp on Knowledge__kav if it is always defaulted to true?

What is the point of having field IsVisibleInApp on Knowledge__kav if it is always defaulted to true? Per documentation, https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/...
Patlatus's user avatar
  • 17k
2 votes
0 answers
29 views

Why Knowledge__kav.LastModifiedDate field is not available for a formula field?

This is very strange behavior. While it is possible to see LastModifiedDate in the Knowledge__kav object, it is not possible to reference it in a formula field. Why? If we try to create a file LMD__c....
Patlatus's user avatar
  • 17k
2 votes
1 answer
36 views

Can I use Bulk API to automate insertion of Knowledge Data Category Assignment?

When I try to execute command sf bulk upsert for Knowledge__DataCategorySelection I receive an error No create/update access for object:Knowledge__DataCategorySelection. sf data upsert bulk -s ...
Patlatus's user avatar
  • 17k
0 votes
0 answers
27 views

Is there a way to group articles in Knowledge?

I have recently started using Knowledge. When I launch Knowledge from apps, I can see 4 default list views - Archived Articles, Draft Articles, Published Articles and Recently Viewed Articles. These ...
Atharva Vadapurkar's user avatar
0 votes
0 answers
24 views

Cannot specify 'externalId' for a CustomField of type Text for entity Knowledge__kav

Why can't we create Custom ExternalId field on Knowledge? We need to automate migration of related junction object which have Knowledge__kav as a parent. Usually we just use bulk upsert, but if we can'...
Patlatus's user avatar
  • 17k
0 votes
1 answer
19 views

Knowledge smart link insertion fails redirection abstract record to concrete knowledge record

Looks like there is some internal Salesforce bug about smart link insertion into Knowledge Article. When a new article is created and Smart Link to another Knowledge Article is inserted into Rich Text ...
Patlatus's user avatar
  • 17k
0 votes
0 answers
24 views

Result of the APEX method is empty outside experience builder

I'm using the following method to query articles from the Knowledge__kav object. It returns the values properly inside the community Experience builder. However when it comes to the normal page it ...
ledmatrix's user avatar
0 votes
1 answer
35 views

How should I retrieve an article's content from the Knowledge object?

I'm using the following query to retrieve the title and some other data based on the article's topic id. SELECT Title, ArticleNumber, UrlName, Id, KnowledgeArticleId FROM KnowledgeArticleVersion WHERE ...
ledmatrix's user avatar
1 vote
1 answer
102 views

What might be the reason for Gack Id -2137186094 when deploying KnowledgeValidationStatus standardValueSet picklist values

I am trying to deploy KnowledgeValidationStatus.standardValueSet-meta.xml field and I am receiving an error Error KnowledgeValidationStatus An unexpected error occurred. Please include this ErrorId if ...
Patlatus's user avatar
  • 17k
-1 votes
1 answer
52 views

How to overcome the error `Knowledge insufficient access rights on entity: KnowledgeLanguageConfig`?

In my CI/CD pipeline I see some strange error: Knowledge insufficient access rights on entity: KnowledgeLanguageConfig. This is very weird, since I received this error on post merge deployment and ...
Patlatus's user avatar
  • 17k
0 votes
0 answers
21 views

What does SOSL's "Update Tracking" actually update?

The SOSL Documenation's Update an Article’s Keyword Tracking with SOSL page states: Track keywords that are used in Salesforce Knowledge article searches with the UPDATE TRACKING optional clause on a ...
Jason Clark's user avatar
  • 11.9k
0 votes
1 answer
25 views

How can I implement private Org-wide defaults access to draft Knowledge articles?

My client wants to allow some users to see only draft knowledge articles created by them. I assummed that I could implement this using sharing setting and set Knowledge object to Private Organization ...
Patlatus's user avatar
  • 17k
0 votes
1 answer
155 views

Deploy Knowledge article from one org to another

My requirement is to move Knowledge articles from Production to Dev. When I am searching for options, all articles are pointing to Export with Translation.(which I dont need) Also I dont see any ...
SFDCRookie's user avatar
0 votes
1 answer
30 views

Is there any way to use automation to setup Knowledge Data Category?

Is there any way to use automation to setup Knowledge Data Category? For a migration from a legacy system, we need to migrate the Data Categories as well and we would prefer an automated way to do ...
Patlatus's user avatar
  • 17k
0 votes
1 answer
27 views

Why knowledge articles search doesn't return articles by topic name?

In the documentation article for enabling topics for knowledge articles, it is said that it is possible to classify and search knowledge articles by assigning topics. However, if you enabled this ...
Patlatus's user avatar
  • 17k
0 votes
0 answers
75 views

Knowledge__kav object's standard fields in Metadata API file issue

Is there anyone has tried to retrieve the Knowledge_kav object's standard fields via Metadata API before? Seems to me that it is not available for the Knowledge obj. When I use: <types> <...
Kenan Ce's user avatar
0 votes
1 answer
21 views

What are the possible values of KbChannel field on SearchActivity standard Object?

What are the possible values of KbChannel field on SearchActivity standard Object? I am trying to understand better SearchActivity standard Object, however, Object Reference Guide doesn't list this ...
Patlatus's user avatar
  • 17k
0 votes
1 answer
330 views

Unable to assign Allow View Knowledge permission to a Permission Set

In moving from Profiles to Permission Sets, I wanted to assign the Allow View Knowledge permission to a Permission Set under App Permissions But the permission is disabled in the editor How do I ...
cropredy's user avatar
  • 71.7k
0 votes
0 answers
163 views

Knowledge Article - Experience Cloud Site - File Attachment Reporting

Currently, my company publishes knowledge articles on a customer portal (through the Experience Cloud Site). We built out a the knowledge object, which gives the name, author, description, and ...
M.M.19's user avatar
  • 21
0 votes
0 answers
29 views

Can Einstein Search to be used to prefer selected knowledge articles?

Can Einstein Search to be used to prefer selected knowledge articles? My customers want to have ability to have some weighting implementation to prefer some selected knowledge articles over the ...
Patlatus's user avatar
  • 17k
0 votes
1 answer
329 views

Why Data Loader is not recommended to be used for uploading Knowledge Base Articles in Salesforce?

While being working with Salesforce since 2013, I have never digged much into Service Cloud functionality. Now I have a task to migrate 4000 KB Articles into Salesforce KB and I wonder if I can ...
Patlatus's user avatar
  • 17k
0 votes
0 answers
204 views

Auto-Archive Published Articles using Flow

TLDR - What Knowledge object and Id field should I be using for the Knowledge Article Action: Archive online knowledge articles? Posted on Trailhead here, but wasn't able to get my flow working. I've ...
very much wow's user avatar
0 votes
0 answers
105 views

Is it possible to translate Knowledge article content details and related links part?

I have created a Knowledge article with translations, and it works fine. The issue is that I have 2 subtitles which is not translated. This is the Details and Related links subtitles. I'm using this ...
ledmatrix's user avatar
0 votes
0 answers
47 views

How are snippets generated when searching Knowledge Articles with SOSL and including the WITH SNIPPET keyword?

My user has admin profile and I made sure that I have at least read access on all fields on Knowledge__kav object. When I execute the below query in Developer Console I often do not get any snippets ...
smukov's user avatar
  • 5,583
0 votes
0 answers
278 views

Knowledge article link to a Content Management System PDF - downloads rather than previews

If I upload a PDF file to SFDC CMS workspace associated with my guest user Experience Site Then create a link to that PDF within the rich text portion of an Knowledge Article like this: https://...
cropredy's user avatar
  • 71.7k
0 votes
1 answer
476 views

How to set parameters for archiving knowledge article in Salesforce Flow

I am trying to archive a published Knowledge Article using Salesforce flow. I tried using the standard Knowledge Action 'Archive online knowledge articles' for this purpose. However, when I try to use ...
it-nish's user avatar
  • 11
0 votes
0 answers
120 views

How can I access the Knowledge Trending Articles via REST API

My first question here so go easy on me pse ;-) I am using a REST API to get my Knowledge Articles from Saleslorce into my webpage I want to be able to also show the 'Trending Articles' as they appear ...
Mark Scriven's user avatar
1 vote
1 answer
112 views

Query knowledges and datacategory names in a multi language org

The article knowledges are written in two languages: dutch (master) and french. When I run this query: SELECT Id, Title, language, articleNumber, ( SELECT Id, DataCategoryName FROM ...
Sarah De Cock's user avatar
0 votes
1 answer
62 views

Salesforce Community - Knowledge Articles

I have a Customer Community and I need to provide customers the ability to search knowledge articles based on model numbers and other types of information. So for example they can search a model of a ...
sfdx_guy17's user avatar
0 votes
1 answer
212 views

Problem with Lightning Knowledge in package

I'm developing a managed package in a dev org that uses Lightning Knowledge. My problem is that is seems impossible to include the Lightning Knowledge custom object rather than the old classic article ...
Dond's user avatar
  • 31
0 votes
0 answers
44 views

Retrieved article not visible in test class

I am trying to publish an article in test class and retrieve it to test some assigned variable via triggers. Here is the code in my test class that will create the knowledge articles and then publish ...
vanessen's user avatar
  • 2,685
1 vote
1 answer
897 views

Einstein bot: Can't use the Answer field value from Knowledge Object

Does anyone know why I can't use the Answer field from the Knowledge Object? When I try to add it, it gives a strange error: Custom Field Definition ID: bad value for restricted picklist field: ...
Yevhen B's user avatar
0 votes
1 answer
582 views

When Lightning Knowledge is enabled, you can't add an article type

I am trying to install my package into our demo org and received this error: ERROR: Encountered errors installing the package!,Installation errors: 1) (Knowledge__kav) When Lightning Knowledge is ...
Calvin Fisher's user avatar
0 votes
1 answer
31 views

How to create a Knowledge mobilisation framework!

I know this question will be rebuked and shut down but I would still like to pick the brains of smart ones! There are lot of siloes in my company who works across various projects in Salesforce ...
Pseudodarwinist's user avatar
1 vote
0 answers
377 views

Sort Knowledge Articles by custom logic rather than publish Date

Hoping someone can help me out here. I am working on set up of public customer knowledge center but the articles need to be sorted in a specific logical manner and not in the order they were published....
Ana's user avatar
  • 11
0 votes
1 answer
345 views

Apex test class for the getting trending articles of Knowledge from Community

I need to get trending articles from the community. I created a apex class for that by using ConnectApi.Knowledge.getTrendingArticles(communityId, maxResult). I need to create a test class for that. I ...
Coders Perry's user avatar
0 votes
1 answer
4k views

Error parsing file: The content of elements must consist of well-formed character data or markup

Error when deploying knowledge fields via sfdx. I am getting following error : Does anyone encounter this in the past ? I have checked and current deploying user have the knowledge user checkbox ...
vanessen's user avatar
  • 2,685
3 votes
1 answer
824 views

Strange Behaviour: Knowledge__kav gets renamed to Knowledge__c

import KNOWLEDGE_ARTICLE_NAME from '@salesforce/schema/Knowledge__kav.Title'; I have this simple piece of LWC code which when pushed to the org strangely resets Knowledge__kav to Knowledge__c EVERY ...
Shreya Pandita's user avatar
1 vote
0 answers
642 views

Get Knowledge Articles using Salesforce REST API [closed]

I'm working on an integration of Salesforce Knowledge Base consuming the Salesforce REST API (following this guide). I'd like to consume the Knowledge Articles that are loaded in my Salesforce domain. ...
Batta's user avatar
  • 11
0 votes
1 answer
379 views

Can't get date right in CSV for article import

I am trying to import articles into Salesforce using Import Articles. I've resolved most of the issues, except the date time. I see from this article that the acceptable date formats are: YYYY-MM-DD ...
afandre's user avatar
  • 71
0 votes
1 answer
414 views

KnowledgeValidationStatus unable to retrieve metadata

I am unable to pull the new picklist values from Knowledge Validation Status field encounter this error unpackaged/package.xml Unable to retrieve file for id 60 (KnowledgeValidationStatus). This ...
Carlo Sab's user avatar
0 votes
1 answer
2k views

How can I get "Attach Article" of "Insert Article into Email" from Knowledge search results

How can I get "Attach Article" of "Insert Article into Email" from Knowledge search results from a Case? On Case, Articles can be added from "suggested Articles". Is ...
Dominic Brunelle's user avatar
1 vote
0 answers
609 views

Apex Test for Updating Data Category

I am very new to Apex code so am looking for some advice. I have a bit of Apex code which updates the data category based on the field on a knowledge article. public class UpdateDataCategory { @...
Matt Stone's user avatar
0 votes
1 answer
254 views

Apex Test Class Fetching Article Details

I need help with writing an apex test class for a class that fetches article titles and article descriptions. Class for example: global class FetchingArticleDetails{ global List<(API name of ...
Ana 's user avatar
  • 3
2 votes
1 answer
1k views

Have a validation on knowledge article publish

We are trying to add a validation on knowledge article before publishing. This can not be done with validation rule since it involves data category. However, when I do that via trigger, I find that ...
Lance Shi's user avatar
  • 13k
1 vote
1 answer
138 views

Why is the top margin of headings missing in Rich Text Fields?

When I add headings to a Rich Text Field on an Article, I'm seeing some strange behavior. In the HTML Editor, I see an even top & bottom margin (see attached screenshot). But when I save the ...
Jack Odell's user avatar

1
2 3 4 5
10