The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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

How to share a draft knowledge article with Standard User for approval?

I have a user with salesforce license and Standard User profile. I have set Knowledge User. I have provided the user with Modify All access on knowledge. I have created a data category and included ...
0
votes
1answer
8 views

How to limit Articles List results by category group

I have many Articles. They all belong two one of two Category Groups, which we will call Old and New. I can retrieve a paginated list of public knowledge articles like /services/data/v44.0/support/...
1
vote
1answer
24 views

Mass update on the recordType of articles in lightning?

I need to change the record type of almost 700 articles in lightnning. I am trying this approach to change the articles to Draft: //STEP 1: draft the articles List<knowledge__kav> arts = [...
0
votes
0answers
12 views

How to get the RecordTypeId of the parent of Knowledge__kav ViewStat?

I have migrated from Classic Knowledge to Lightning Knowledge and now I need to get the viewstat from this newly created Knowledge__kav object. Since, we cannot use the ArticleName__ViewStat for this ...
0
votes
0answers
24 views

SOQL Knowledge Articles by Topic

I have found from the docs here that you can enable Topics to classify and search articles by assigning topics. Is it possible to utilize topics in SOQL? I'd like to do a query like this: SELECT ...
0
votes
0answers
11 views

How to allow agents to write a knowledge article without using the master language?

I had a requirement to set up the multilingual knowledge base with English, German and Italian. After complete this i got a question in order to know if the agents can write an article only in German ...
0
votes
0answers
17 views

How to display knowledge Articles for community users using lightning component?

I am trying to display knowledge articles on lightning component. When I use same query in developer console its working fine. I have given Knowledge Article object permission to community users, but ...
0
votes
0answers
12 views

Redirect customer to external knowledge from email

I have setup external knowledge for community customers. If a support rep sends a knowledge article link to the customer by email. Ex. https://companyname.my.salesforce.com/articles/Knowledge/...
0
votes
1answer
94 views

Suggested Article is not showing in my cases

I have dropped the knowledge search in my cases page through Lighting App builder but in my suggested article section. Articles are not showing can you please suggest some solution for showing the ...
0
votes
0answers
15 views

3rd party searching the knowledge base and presenting articles

Is it possible for an integrated 3rd party, to search the knowledge base, direct to relevant articles and present them? What are the options (pros & cons) and which one is the most recommended? ...
0
votes
0answers
9 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
67 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
12 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
37 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
20 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
30 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
71 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
37 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
17 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
41 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
33 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
34 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
41 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
18 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
18 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
11 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
41 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
33 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
19 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
92 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
26 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
58 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
20 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
190 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
92 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
52 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
132 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
63 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
59 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: ...
1
vote
0answers
30 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
461 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
26 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
2answers
202 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 articles are suggested. In the Knowledge Settings ...
0
votes
1answer
82 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
21 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
149 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
398 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
745 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
218 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 ' + ...