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
0answers
6 views

Need to update a custom field for published knowledge article

Is their any way to update the published knowledge article without creating draft articles. We have a custom field (Date custom field) that needs to be updated (mass update) with the publication ...
0
votes
1answer
12 views

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

I am trying to package the Einstein Bot where FAQ__kav is referenced by apex classes. When I try to install the package to other org, it says that there are problems that prevent this package from ...
0
votes
0answers
9 views

Can 'Detach from case' link in case feed hidden?

I want to hide 'Detach from case' from case feed. Since this a standard layout I couldn't hide it using code. Is there a profile permission to hide it?
1
vote
0answers
17 views

Data Category Mapping not working properly for knowledge articles

In my org, the 'knowledge sidebar' section which is visible on opening a Case record should ideally show all the suggested articles based on Data Category mapping. I have a Data Category Group named '...
1
vote
0answers
18 views

What API limits are imposed on Knowledge Base REST API?

I would like to know what limitations are there on the Knowledge Base REST API? Would this use the same API limits imposed in a Salesforce org? or does it also use the Site.com limits (number of page ...
0
votes
0answers
24 views

Show Knowledge Article for the specific profile

I need help for the Knowledge Article Visibility. I have 1 Knowledge licence and I want to categorized those Article base on the User Profiles, I am using "Default Data Category Visibility" setting ...
3
votes
1answer
66 views

How to query Knowledge Articles unauthenticated using the Knowledge API

According to Salesforce documentation using the Knowledge API we can "allow both authorized and guest users to retrieve the user’s visible data categories and their associated articles.", however I've ...
0
votes
0answers
30 views

SOQL Knowledge Articles

When I do the soql query: SELECT Id, ArticleMasterLanguage, Language, Summary, Title, UrlName, ValidationStatus FROM KnowledgeArticleVersion I get these results: But when I use this query in ...
0
votes
0answers
11 views

How to delete an attachment stored in a file field in a Knowledge article?

I have inserted the attachments in the file Field of knowledge Articles through apex.Is there any way to delete those attachments stored in the file Field.I have to delete the attachments in the bulk.
0
votes
1answer
25 views

What are the differences between Knowledge Article Types and Knowledge object Record Types?

I am learning about knowledge articles and came across this two. In Setup->Quick Find, I can create a new article type, let say FAQ in Knowledge Article Types. However, if I go to Setup->Object ...
0
votes
1answer
31 views

Custom knowledge base: Need your views

I am working on creating custom knowledge base for one of my client. They don't want to use "Knowledge User License". I can see if we don't give "Knowledge User License" along with "Manage Article" ...
0
votes
1answer
18 views

PublishingService.publishArticle Invalid Id

Trying to publish a Knowledge Article created during a flow. So I created an @InvocableMethod to do it for me: @InvocableMethod public static void publishKnowledgeArticles(List<String> ...
0
votes
1answer
25 views

Create Knowledge Article in Flow

We're creating a Flow to allow certain users to create a Knowledge Article, based on the current record and a bunch of other related records. I can collect all the data I need to create the Knowledge ...
0
votes
0answers
12 views

Override create article / knowledge button on knowledge tab in classic

The actual challenge for me is: Pre-populate 'Article Content' field (Rich text) on load while we create knowledge from the knowledge tab. What I've tried so far : URL Hack but i did not get this ...
0
votes
0answers
13 views

Knowledge article detail page not showing up for community user

I have two customer portal users who belong to the different accounts. One of them is able to view knowledge article standard detail page while the other isn't. They have the same profile, same ...
0
votes
0answers
6 views

Knowledge Article Embed Google Calendar Turns into Empty Div

Is there a common practice for embedding google calendar in Knowledge Article? I tried embedding the following: <div style="width: 100%"><iframe width="100%" height="600" src="https://maps....
-1
votes
1answer
33 views

How do I embed a visualforce page into a knowledge article?

I created a Visualforce page in order to embed a video that is hosted within our own company's digital asset software. <apex:page showHeader="false" showChat="false" sidebar="false"> <...
0
votes
1answer
28 views

Query Data category tree structure by SOQL statement

Using SOQL statement, I want to query the Data Categories tree structure that I have created on Saleforce. How can I do this?
0
votes
0answers
17 views

Second generation package extensions

I'm in the midst of creating a second gen managed package and I'd like to add a Knowledge feature for orgs that support it. The first barrier I've hit while developing on a scratch org is that the ...
2
votes
1answer
48 views

How to Assign Multiple Topics to a Knowledge Article Via API or Apex

What I'm Trying to Accomplish We are trying to import all of our self help documentation (held on another website) into our SalesForce knowledge base. Our self help "articles" are grouped by related ...
0
votes
0answers
18 views

Creating custom list view for Knowledge object

I have to create custom list view for knowledge article object in visualforce and lightning. I saw in the document that lightning:listview does not support knowledge object. Can we create it in ...
0
votes
2answers
40 views

Knowledge And Article Management Tab Visibility Deployment

I have enabled Lightning Knowledge post which I see two entries for Knowledge Tab Visibility in UI as highlighted below While I see only one Entry for knowledge Tab Visibility under the Admin.profile ...
0
votes
0answers
19 views

How to remove Lightning Knowledge URL from the assignment email

When you assign an article draft to someone and click "send email" it sends an email with the following details. John Smith has assigned you the article listed below. Due date: 5/1/2019 Instructions:...
0
votes
0answers
103 views

How to create a correct test for knowledge articles?

I'm creating a package with a simple Apex class that retrieves info about knowledge article (Lighting Knowledge). However, I'm having an issue with a test. When installing the package via installation ...
0
votes
0answers
60 views

How to update “Assigned To” field on Knowledge Article Version with Apex?

If I use standard button on Knowledge Article Version (KAV) called Assign (api name: AssignKnowledgeArticleVersion), it successfully updates the Assigned To (AssignedToId) field, however, I can't seem ...
0
votes
0answers
31 views

Image is not displaying after knowledge article migration from one org to another

I am trying to migrate knowledge articles to another org. My articles store content as HTML in Rich Text Area using source link: src="https://<MyOrg1>.content.force.com/servlet/rtaImage..." ...
0
votes
1answer
90 views

How to create Knowledge Article in Salesforce using REST API

In response to the question : Create Salesforce KB article using API I used the curl call that is provided and I run into the below error : [ { "message": "entity type cannot be ...
0
votes
0answers
49 views

Track Knowledge Article Views by User in Apex

Do you know how to obtain the articles viewed by each user in my community? I would not like to create a custom object because I would have many records. I would like to add this functionality to my ...
0
votes
0answers
44 views

Unknown user permission: ArchiveArticles

I am trying to deploy permission set which has Manage Article permission. Upon deploying following metadata where Salesforce Lightning Knowledge is disabled, I am getting Unknown user permission: ...
0
votes
0answers
27 views

Associating Knowledge articles with categories using REST API

The SOAP API suggests that articles can be associated with categories using Article Type__DataCategorySelection. I can't find information about using the REST API to do this and I've had no luck using ...
3
votes
1answer
235 views

Knowledge Article Version (Knowledge__kav) query returns only articles with the same language as current user

I started working with Salesforce Knowledge objects and so far I've been surprised at least 3 times per hour. The latest issue I'm facing is that I can't seem to be able to query Knowledge_kav ...
0
votes
1answer
21 views

Google Analytics not pulling in the title of a Service Cloud Knowledge Article

In the data from SFDC to GA, instead of the data from the title field, SFDC is sending the words "Article Detail" for every single knowledge base article. Is this able to be changed? Is anyone else ...
1
vote
0answers
32 views

Submitting Article for Translation through Test Class causing internal error

I'm trying to test a class which queries for translations of an article. This is the setup functionality in the test class to create an article with a translation. Article_Type__kav af_1 = new ...
0
votes
1answer
130 views

Case Deflection not working in Salesforce Community

I have set up Knowledge and a community page containing the Contact Support Form and Case Deflection components. However when typing in the form, no cases are suggested. In the Knowledge Settings I ...
0
votes
1answer
66 views

Knowledge Articles Query Partner Community

I'm trying to query Knowledge Articles in our community, so I am not using standard layouts. (The query is in a lightning component.) But when I log in with a Partner Community Profile I get no ...
0
votes
0answers
20 views

Article List Views

I have created two custom list view in knowledge article Salesforce name 'Article Submitted for Approval' and 'Has customer requirement'. Submit for approval and 'Has customer requirement ' has two ...
1
vote
0answers
131 views

Create Knowledge article with channels in apex test code

We have a use case where we expose knowledge articles to customer community users and I'm trying to write test code for that. The problem I am having is that whenever I query for articles using ...
1
vote
2answers
271 views

Select Knowledge object in SOQL query

I'm trying to get all articles which are published and online. In my user I turned on all permission set and so one to have access to Knowledge. List<Knowledge__kav> myList= [SELECT Id, ...
0
votes
1answer
528 views

Knowledge Data Categories in Lightning Knowledge

I'm working on a knowledge conversion from classic to lightning. I've migrated a small collection of article types to record types and enabled lightning knowledge. The problem I'm having is related to ...
0
votes
1answer
172 views

How to get the Data Category in Select Dynamic Soql

I am trying to fetch Knowledge Articles based on Data Category through the below dynamic Soql query. String dynamicQuery = 'SELECT Id, Title FROM Knowledge__kav ' + ...
0
votes
1answer
96 views

Knowledge__kav visualforce not shown in Article page layouts

I have create a visualforce with KnowledgeArticleVersion as standardController Visualforce page: <apex:page standardController="KnowledgeArticleVersion" extensions="MyController" showHeader="...
0
votes
1answer
65 views

Is there a way to associate data category groups with the articles in lightning?

I'm trying to build a Knowledge base in lightning, and i saw lots of information about data category groups, but i cant associate these ones with the articles, i tried this in classic and is pretty ...
2
votes
1answer
366 views

Knowledge Article Suggestions: behavior differs between Classic and Lightning

I'm working on a solution that's expected to be entirely declarative. The objective is to deterministically surface one or more Knowledge articles as suggestions in the Knowledge component, based upon ...
0
votes
2answers
90 views

How to get DataCategory name and not Unique name from Knowledge Base with SOQL?

I started using the Knowledge base and i want to pull out all the knowledge base category group names from it.  I am using the following SOQL statement: Select Id, Question__c, Answer__c, (Select ...
0
votes
1answer
313 views

approve article before publish

I am going through an strange issue while implementing a validation rule/trigger. i want to check if article are in approved status (custom field) before it can be publish. i don't want to allow a ...
0
votes
2answers
70 views

API Issue with SOQL for Knowledge

I have a Knowledge object which I'm trying to run a SOQL against. Running SELECT Title FROM Knowledge__kav, I receive: Got a RESTError(status=Bad Request, code=ERR-0002, message=[ValidationError{...
0
votes
1answer
134 views

Setup for Lightning Knowledge remains in Salesforce Classic?

I have enabled the Lightning Knowledge and can see the setup for it in Salesforce Classic, but not in Lightning Experience. I looked into this question thread mentioning: The knowledge tab(s) (for ...
0
votes
0answers
109 views

Validation rule before publish article

There is a approval field on my knowledge object and there is a approval process which changes this field to approved upon approval. I don't want article to be published when 'approval' field is not '...
0
votes
1answer
291 views

How to share Knowledge Articles with external clients [duplicate]

I'm looking for suggestions on how to share Knowledge Articles with external clients. I have searched web and one way seems to be to setup a Community and then share articles by check marking which ...
2
votes
1answer
65 views

Unable to get Knowledge Articles for pageNumber=2 using REST API

I am able to get first page Knowledge Articles using REST API. https://XXXX.my.salesforce.com/services/data/v44.0/support/knowledgeArticles The result has articles for page 1 "currentPageUrl": "/...