Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [data-category]

The tag has no usage guidance.

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

Can I use Bulk API to automate insertion of Knowledge Data Category Assignment?

When I try to execute command sf bulk upsert for Knowledge__DataCategorySelection I receive an error No create/update access for object:Knowledge__DataCategorySelection. sf data upsert bulk -s ...
Patlatus's user avatar
  • 17k
0 votes
1 answer
30 views

Is there any way to use automation to setup Knowledge Data Category?

Is there any way to use automation to setup Knowledge Data Category? For a migration from a legacy system, we need to migrate the Data Categories as well and we would prefer an automated way to do ...
Patlatus's user avatar
  • 17k
0 votes
0 answers
46 views

Get parent category in Page Meta Tag Rules

I want to take the parent category in the page meta tag rules from Business Manager. It says in the documentation that it can be done, but there is no example and the various tests I have done do not ...
MGA's user avatar
  • 1
-1 votes
1 answer
305 views

What will happen if i change the api name of the data categories in salesforce?

I wanted to change the api name of the data categories in my org and Salesforce don't recommend moving, deleting or changing the developer name of categories. So I just wanted to know will it affect ...
Deepanshu Rajta's user avatar
4 votes
1 answer
521 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,583
0 votes
1 answer
982 views

LWC Component visible depends on login user language

I have a LWC component which get the results from apex class. Now when I login as a Italy user with locale Italian (Italy) and Language Italian, the component is not working. When i change Language ...
Anu's user avatar
  • 3,857
1 vote
0 answers
706 views

Article visibility using data categories

I am trying to hide certain articles for certain users based on the article's data category. I've set the data category visibility to None on the user profile, user role, permission sets and even on ...
robruf's user avatar
  • 362
2 votes
1 answer
722 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 ...
Luke's user avatar
  • 413
2 votes
1 answer
322 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 ...
busbina's user avatar
  • 131
1 vote
1 answer
552 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.
Matthew Metros's user avatar
0 votes
1 answer
648 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)...
user51241's user avatar
1 vote
1 answer
3k 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="...
gvgramazio's user avatar
2 votes
0 answers
435 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 – ...
Sudipta Deb's user avatar
  • 1,261
0 votes
1 answer
94 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, ...
Sudipta Deb's user avatar
  • 1,261
1 vote
0 answers
1k 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 '...
Developer_Beginner's user avatar
2 votes
2 answers
1k 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?
user51241's user avatar
0 votes
1 answer
4k 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 ...
user3429270's user avatar
0 votes
1 answer
315 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 .
SR07's user avatar
  • 1
1 vote
0 answers
480 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 ...
user60106's user avatar
0 votes
1 answer
209 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. ...
Sidereal's user avatar
  • 465
2 votes
0 answers
516 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 ...
peripatew's user avatar
0 votes
1 answer
6k 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 ?
user4567570's user avatar
  • 1,626
2 votes
1 answer
659 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 ...
glls's user avatar
  • 20.2k
1 vote
0 answers
204 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 ...
salesforce Developer's user avatar
1 vote
0 answers
341 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 ...
Kuljit Jagpal's user avatar
1 vote
1 answer
117 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 ...
Charles Naughton's user avatar
1 vote
1 answer
2k views

How select all Data Categories with apex

How can I select all categories types in salesforce with apex?
JKasyan's user avatar
  • 195
4 votes
2 answers
5k 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 ...
Venkatz's user avatar
  • 89
2 votes
2 answers
313 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?
Halfwarr's user avatar
  • 609
1 vote
1 answer
501 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 ...
Allen Mann's user avatar
  • 1,092
2 votes
1 answer
206 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 ...
Allen Mann's user avatar
  • 1,092
1 vote
0 answers
153 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 ...
JH95's user avatar
  • 111
0 votes
2 answers
1k 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/...
Valyrion's user avatar
  • 1,144
6 votes
1 answer
9k 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 ...
V T's user avatar
  • 507
0 votes
1 answer
1k 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: ...
NSjonas's user avatar
  • 10.2k
1 vote
1 answer
38 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. ...
NSjonas's user avatar
  • 10.2k
2 votes
1 answer
1k 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 ...
GoldenAxe's user avatar
  • 477