Questions tagged [data-category]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
32 views

Metadata Location For 'Topic Assignment Rule' aka 'Automatic Topic Assignment'

For a Community, in the Workspace 'Content Management', there's an option for 'Automatic Topic Assignment' that lets you set rules to automatically assign topics to new articles of a specific data ...
0
votes
0answers
16 views

Knowledge Data category is not associating to knowledge on knowledge creation

I am attaching data category to salesforce knowledge article in afterInsert trigger event on knowledge trigger. In Debug logs I can see no error and its getting successfully inserted. Please see code ...
0
votes
0answers
14 views

Access Data Categories in APEX

I'm trying to access data categories in Apex. I've been successful when trying to run the code with System Admin but as soon as I move to a normal user, I get SystemNoAccessException for Schema....
1
vote
1answer
48 views

REST request for creating a new DataCategoryGroup or DataCategory

I can't find any documentation on creating a new DataCategoryGroup or DataCategory object from the REST API. I can read them, and link them to knowledge articles, but I can't see to find anything ...
1
vote
1answer
30 views

SOQL query to find number of articles associated with a datacategory

It seems that we cannot query data categories directly. I am trying to see which of my data categories I can delete because there are no articles attached to them.
0
votes
1answer
43 views

How to return toLabel() value in Rest Api in Apex

I have implemented a REST Api in Apex to return list of Data Categories in Salesforce. The query looks like the one below - SELECT DataCategoryGroupName,DataCategoryName,toLabel(DataCategoryName)...
0
votes
0answers
24 views

How to restrict authors to specific data categories in Lightning Knowledge?

I want a visibility model that is as private as possible. In order to do so I disabled default data category visibility, I set to None the data category group for roles and profiles. I want to manage ...
0
votes
1answer
151 views

How to retrieve Data Category Group Visibility on Profiles, Permission Sets and Roles?

Data category visibility can be set with roles, permission sets, or profiles. I'm not able to retrieve any of these settings. This is the Knowledge relevant part of my package.xml: <?xml version="...
2
votes
0answers
34 views

Sharing knowledge articles between multiple data categories

I am trying to solve a use case for which I need expert advice whether the solution I am thinking is good or there is any better solution available. Customer is having below data categories – ...
0
votes
1answer
29 views

Malfunction SOQL Query

I have the below Data Categories Group1 Category1 Category2 Group2 Now the query which I am trying to execute is below to get all the articles in published state and linked with Group 2, ...
0
votes
0answers
14 views

Categorize URLs and count them on subscriber level

Is there a way, or best practice to categorize URL clicks and count them on subscriber level? We want to capture the number of clicks per content categorie on subscriber level. The categories ...
0
votes
0answers
117 views

knowledge__kav object is not supported by describeDataCategoryGroups method

I have below code for KnowledgeArticleVersion object. Our org is switching to knowledge__kav object. KnowledgeArticleVersion object will be deleted from the org. When I use Knowledge__kav object I'm ...
1
vote
0answers
229 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 '...
0
votes
1answer
77 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
1answer
2k 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
0answers
112 views

I need To perform an Insert Operation On Data Category In Salesforce by apex

How Can we perform insert operation on Data Category by Apex in Salesforce .
1
vote
0answers
223 views

Set Category Group Visibility Settings for Role using Apex

The question is can I set Category Group Visibility Settings for Role using Apex code somehow? My logic creates Data Categories (I'm using Metadata Api for it) and User Roles (I'm using UserRole ...
0
votes
1answer
95 views

Data Category mapping to an Account field?

I inherited this Service Cloud setup where accounts all have a picklist field called Level with options 1, 2, 3, and then there is a Data Category called Level with options Level 1, Level 2, Level 3. ...
1
vote
0answers
252 views

How to limit visible Navigation Topics in Community based on user profiles?

I’m setting up a Community for internal help desk style functionality. I’ve got data categories working fine for article visibility. But there seems to be a disconnect with managing Navigational ...
0
votes
1answer
2k views

Can we deploy the `Data Category Groups` and its related categories ? If yes, then under which component of the Change Set will it come?

Can we deploy the Data Category Groups and its related categories ? If yes, then under which component of the Change Set will it come ?
2
votes
1answer
253 views

Using relationship queries with datacategory

I am following salesforce's documentation here and trying to formulate a soql query for datacategories related to knowledge articles of type knowledge as follows: SELECT Id, title (SELECT Id FROM ...
1
vote
0answers
167 views

Return category group with salesforce knowledge articles

I' writing one sosl query, where I'm facing problem while returning category group. FIND {tourism} RETURNING KnowledgeArticleVersion (Id, Title WHERE PublishStatus='draft') WITH DATA CATEGORY ...
1
vote
0answers
222 views

How to selectively disable articles or discussions in Salesforce communities Napili template based on topic

My topics are organized either by Forum or Knowledge Base Under Knowledge base topic I am using Data Categories which are assigned to Knowledge articles. Under Forums I will have topics and they will ...
1
vote
1answer
74 views

Subscribe to Knowledge articles or categories

Is it possible to allow users to subscribe to new knowledge content based on data categories? I'd like users to be able to subscribe to their preferred data categories so that they can receive email ...
0
votes
1answer
1k views

How select all Data Categories with apex

How can I select all categories types in salesforce with apex?
2
votes
1answer
3k views

How to assign data categories to articles using apex controller?

I am trying to assign data categories to knowledge base articles records. I am using articlename_DataCategorySelection to define the assignment and then to inset it. The object to be inserted as ...
2
votes
2answers
141 views

Anyway to create Data Categories programmatically?

I have roughly 4 Active groups of 150 categories I need to create. Is there a way to create them programmatically? Other then typing them in 1 by 1 into the system?
1
vote
1answer
343 views

Wrapper Class (KnowledgeArticleVersion : KnowledgeArticle) for CaseAssociation Count

I have been trying to build a lightning compoennt that returns a list of article from a single data category and I was wondering how I could go about using a wrapper class to map the returned KAVs to ...
2
votes
1answer
152 views

Knowledge One filter does not reset on new case

We have an issue where the Data Category filter that is used to filter articles when a case is saved is still being used the next time the user saves a new case and searches for an article. Any way ...
1
vote
0answers
65 views

Filter Count on each SOQL Data Category Passed to Query

I have the following query that returns the total count: SELECT Count() FROM X__kav WHERE PublishStatus = 'Online' AND Language = 'en_US' WITH DATA CATEGORY Foo_c AT (Bar_c, Baz__c) How would I ...
0
votes
2answers
784 views

Can't access child Data Categories

I'm trying to get all Data Categories from an Article Type through the varius describe calls I've found in the documentation such as https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/...
4
votes
1answer
4k views

How to query on data categories in salesforce?

(SELECT Id, ParentId, DataCategoryGroupName, DataCategoryName FROM Info_Hub__DataCategorySelection). In this i did not find complete list of data categories. I want to list up all data categories ...
0
votes
1answer
815 views

Retrieve Data Categories a profile has access to

I'm trying to create a Knowledge base search component that will allow users to keyword search and filter on Data Categories they have access to. Imagine the following structure: Data Category: ...
1
vote
1answer
34 views

Best way to handle relationships to objects I cannot create look ups for?

I have an object and it needs to have a 1 - many reference to the Data Category used in knowledge base. We have a requirement to be able to configure which data categories show up on a given page. ...
2
votes
1answer
754 views

How to use Data Category Visibility in a data category picklist that generated from code

Problem description: I have a picklist for data categories which I am generating dynamically from apex code, currently because I'm doing it from code using Schema.describeDataCategoryGroups and ...