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
54 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
26 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
31 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,503
0 votes
0 answers
48 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
  • 69.1k
0 votes
1 answer
175 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
35 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
0 votes
0 answers
20 views

Not able to download Article Inline attachment using Oath -2 Authentication

I am trying to download inline attachments using OAuth-2.0 authentication API in salesforce. But when I try to download the image I am getting a script downloaded. which looks like below - <!...
KING BHAI's user avatar
1 vote
1 answer
41 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
0 answers
62 views

knowledge articles not visible in customer account

I created some knowledge articles and assigned them to a topic in the content management of the portal. The Articles are available for everyone. I See the articles when I^m logged in the the ...
canko's user avatar
  • 1
0 votes
0 answers
30 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
89 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
26 views

How to make a request and see the rating of an article from Salesforce using knowledge__VoteStat

Please tell me how to write query correctly to get an article rating, I tried this way /query/?q=Select+Id%2c+ArticleNumber%2c+LastModifiedDate%2c+(Select+Channel%2c+NormalizedScore+From+...
Maria Kamenskyh's user avatar
0 votes
0 answers
34 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,525
1 vote
1 answer
407 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
331 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
0 answers
39 views

Is it possible to customize Salesforce SEO static page CSS styles?

Our website is a customer community using mostly LWC and some Aura components. We are trying to tackle SEO issues. On some of our pages, we are getting negative points in Google Search Console for ...
babyYoda's user avatar
0 votes
0 answers
182 views

How to get Last viewed Article In Experience Cloud? Why recently viewed shows related records?

Since there's no standard component which displays Recently viewed Articles , i've used this SOQL : SELECT Id, Name,LastViewedDate , LastReferencedDate FROM RecentlyViewed WHERE Type = 'Knowledge__ka' ...
user avatar
0 votes
0 answers
98 views

Is it possible to display Recently viewed list view of Knowledge as a default list view?

I want to display the recently viewed Salesforce list view as default list view in Community : As you can see i can't find the Recently viewed list view , but it's available on preview .. i want it ...
user avatar
0 votes
0 answers
126 views

SEO settings for individual Knowledge articles

I can see it's possible to customise the SEO settings for pages created for an Experience Site, but it doesn't appear possible to customise the meta tags and descriptions for individual Knowledge ...
Antonio De Palma's user avatar
0 votes
0 answers
369 views

How to query for articles with a specific data category OR without any category?

I know you can use WITH DATA CATEGORY to query for articles in a specific data category (ex: SELECT Id, Title FROM KnowledgeArticleVersion WHERE PublishStatus='online' WITH DATA CATEGORY Geography__c ...
jbyrd's user avatar
  • 601
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
224 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
273 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
3k 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,525
3 votes
1 answer
524 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
415 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
281 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
291 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
1k 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
445 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
224 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
759 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
  • 12.9k
1 vote
1 answer
117 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 vote
2 answers
668 views

Upsert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION Invalid vote type '5-star(db=6,api=5)'

//This method is used to upsert an vote for article @AuraEnabled public static String upsertVote(Id voteId, String kbId, String val){ System.debug('voteId::'+voteId); System.debug('kbId::'+...
Vinod's user avatar
  • 65
0 votes
1 answer
110 views

Controlling external visibility of Knowledge record Summary field through page layouts

We are running a Knowledge site, and we have two page layouts for Articles. One internal and one external. It looks like the Summary field is always visible on the published Knowledge site, even ...
akarnid's user avatar
  • 1,965
0 votes
0 answers
84 views

Is it possible to import IsMasterLanguage field from CSV file in UI import articles feature in salesforce lightning?

Hi guys I am trying to import salesforce knowledge articles from CSV file however I am getting an error that displays IsMasterLanguage column in the header cannot be mapped. So I wanted to know ...
Muhammed Rishdhi's user avatar
0 votes
1 answer
2k views

unexpected token: WHERE System.QueryException

When i run the below query i am getting the following error , can some one help me to resolve this. if(searchvalue != null && articleType == null){ String sQuery1 = 'Select Id, ...
Vinod's user avatar
  • 65
1 vote
1 answer
386 views

Why is "you must specify a language where clause for knowledge articles in this API version" error occurring on API version 51?

I have SOSL queries in my Apex which work well on Knoledge__kav object. When running test classes I receive the "you must specify a language where clause for knowledge articles in this API ...
RedQueries's user avatar
0 votes
2 answers
1k views

how to get the Knowledge__kav custom fields using the KnowledgeArticleVersion object

I am using the knowledge(Knowledge__kav) object with 4-5 custom fields. For an article having 5 version. How can i query the archived article version with the custom field using ...
Vinod's user avatar
  • 65
0 votes
0 answers
46 views

soql knowledge inner query error [duplicate]

When i try to write an inner query using knowledge object its fetching error. having the Applicable_model__c is a custom object. SELECT Id, Title,(Select Id from Applicable_model__r) FROM ...
Vinod's user avatar
  • 65
0 votes
1 answer
152 views

Salesforce Knowledge - display latest version only

When creating a salesforce knowledge article, when we click on version, we see the first created version. Now I edit the 1st version with some changes and publish it.So, now If I click on versions tab ...
Gautam Saxena's user avatar
1 vote
0 answers
277 views

Does Einstein Article Recommendations consider Data Categories when building its model?

The documentation for building a model for Einstein Article Recommendations doesn't mention Data Categories. But it does mention that you may specify custom fields from the Article object to be ...
Jack Odell's user avatar
0 votes
0 answers
31 views

Article tab missing from community

I have created a community for testing purpose. I could see article tab present in community but that is missing in my case. I googled as well but could not make it work. I want article tab present ...
Pawan's user avatar
  • 1
1 vote
1 answer
494 views

Knowledge "Edit As Draft" button returning to published version

I'm building a Knowledge implementation, and in one sandbox, whenever I click "Edit As Draft," I'm given a message that the current version will remain published. I confirm, and it does not ...
Dylan Bowman's user avatar
1 vote
1 answer
786 views

Is it possible to limit knowledge search results to a data category group in an Experience Site (help center)?

We've created an experience site designed to be a knowledge base/help center. The articles have public visibility, but we were hoping to create an experience site with member-only knowledge articles. ...
Antonio De Palma's user avatar
4 votes
1 answer
11k views

Passing variables from flow to apex and then from apex to flow

I'm trying to put in place a screen flow component in order to display knowledge articles based on the case fields and Knowledge-articles data category. In order to do so, I've created an apex class ...
user52619's user avatar
3 votes
0 answers
376 views

Knowledge Article's href is overridden for 'tel:' links

When I try to insert a call link to an Article with this: <a href="tel:+18475555555">1-847-555-5555</a> On save, it converts automatically to <a href="" target=&...
ipradhansk's user avatar
  • 2,317
4 votes
1 answer
474 views

Lightning Knowledge in Scratch Orgs not working

We are using the following scratch org definition file: { "orgName": "test_de", "edition": "Enterprise", "country": "US", "...
smukov's user avatar
  • 5,503
0 votes
0 answers
88 views

My question is about how to cover Approval of Knowledge Article in Test class

When we insert Knowledge Article in test class then the status is Null and when I checked by using SeeAllData=true then I am not able to get such Knowledge Articles where status is pending and Actor ...
user100385's user avatar
0 votes
0 answers
256 views

Filter Knowledge Articles search results by Brand (WHERE Brand = ...)

I'm making a custom Knowledge Search (it needs to be custom), and the basic query to search articles is 'SELECT Id, Title, Summary FROM Knowledge__kav WHERE Title LIKE \'%' + input + '%\''. This is in ...
jbyrd's user avatar
  • 601

1
2 3 4 5
10