Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
5 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
21 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
20 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
28 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
13 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
31 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
17 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
36 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
39 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
20 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
34 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
31 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
33 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
22 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
105 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
0answers
13 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
25 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
92 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
47 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
84 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
173 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
268 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
132 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
78 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
39 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
253 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
72 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
247 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
56 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
103 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
94 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
159 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
54 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": "/...
-1
votes
1answer
105 views

Public Knowledge base for force.com site

A public Knowledge base to be created so that forec.com site visitors can view Knowledge Articles without any authentication as anonymous users and also vote for the articles. Is there any easiest ...
0
votes
0answers
47 views

CaseArticle object SOQL query in Apex Trigger

I am trying to query CaseArticle object. In the following code I am not able to see any value getting populated in caseArt List. When i run the query in editor I am able to see the values. Can any one ...
0
votes
1answer
212 views

SOSL not returning any result in Test class

Test Class static testMethod void testBehavior() { User objUser = [SELECT Id FROM User LIMIT 1]; System.runAs(objUser) { String strContactId = String.valueOf([SELECT ...
1
vote
1answer
124 views

What implications are there for process builder or workflows when a record locked as part of an approval process?

I am wanting to perform some automated process in Salesforce Knowledge, specifically around dates and time-based workflows or scheduled processes in process builder. However, when a user submits an ...
0
votes
2answers
17 views

Knowledge Tab not able to see in Production - giving error

User is not able to see Knowledge Tab. I have checked below settings, User is knowledge User also Knowledge One is enable on his profile. But Tab for Knowledge is set to Default Off. When I try to ...
2
votes
1answer
205 views

Knowledge Article NormalizedScore - what is it?

I'm developing a Lightning Component to display Knowledge Articles alongside their overall rating. The documentation for NormalizedScore on the KnowledgeArticleVoteStat object says that this is the ...
0
votes
2answers
170 views

Automatically Publish a Draft Article

I am trying to publish an article from a flow. I have already created the article successfully(in the flow), but the item is created in "Draft" status. Once the article is created, I am capturing the ...
-1
votes
1answer
96 views

How to show Knowledge article list History in Search Bar [closed]

I have created list of Knowledge articles in articles management standard object. i need to show that articles list in search bar when i am searching for related questions/data that time i need to ...
0
votes
1answer
149 views

Update Data Categories selection from knowledge article in salesforce

I want to update data category selection from knowledge article's custom field. I have written a process builder and calling apex from there. but it is not updating data category selection But in ...
0
votes
2answers
382 views

Id value is not valid for the Knowledge__kav standard controller

I've created a simple Visualfore page and a Apex class to process particular record of Knowledge__kav standard object. Visualforce Page: <apex:page standardController="Knowledge__kav" extensions=...
2
votes
1answer
33 views

How to Remove Knowledge Article footernote

I have created one Article and i published successfully after i assigned that article to site using visualforce page. once i clicked that article in site it will be redirected to anther page. but that ...
0
votes
0answers
26 views

Salesforce Napili template, Follow article button, chatter feed when a new article version is published

If i start following an article on a salesforce community page. Question is: When a new version of the same article is published, will it appear in the Community "Feed" under "My profile" I have ...
0
votes
1answer
83 views

unable to delete duplicate article From Developer console Anonymous Window

My profile is System Administrator and have access knowledge object and all the permission assigned like edit,delete,view,view all. I am able to delete duplicate article manually but when i am trying ...
0
votes
2answers
713 views

Can't enable Salesforce Knowledge in my sandbox

I've read from this trailhead how to enable Salesforce Knowledge. I don't see "Knowledge User" in my User record when I edit it. My sandbox is Enterprise Edition. I've checked my User record in edit ...
0
votes
0answers
40 views

Create or update articles with field PublishStatus='Online'

Tell me please is it possible create/update articles with field PublishStatus='Online' with SOAP API? SObject newArticle = new SObject(); newArticle.setType("FAQ__kav"); newArticle....