5
votes
Accepted
Topics against objects in Lightning Experience
According to these release notes for Summer '17: Use Topics to Organize Your Content in Chatter
You can use topics on a record’s feed, but topics on objects aren’t available in Lightning Experience....
4
votes
Accepted
Dynamically create TopicsForObjects metadata from Apex
I see TopicsForObjects in apex-mdapi. This is the below snippet from their code and taken from what's available in their github.
public class TopicsForObjects extends Metadata {
public ...
3
votes
Accepted
Follow Navigational Topic Using SOQL
Following a topic is specific to a community.
For example, you can follow a topic in community 1 but not follow it in community 2.
Entity Subscription object has network Id field which determines ...
3
votes
SOQL Knowledge Articles by Topic
It needs to use "TopicAssignment".
Try this:
SELECT EntityType, EntityId, Topic.Name
FROM TopicAssignment
WHERE Topic.Name = 'Test' AND
EntityType = 'Knowledge'
3
votes
How can I get Topic based on specific record in Salesforce
What you need here is TopicAssignment.
Represents the assignment of a topic to a specific feed item, record, or file. This object is available in API version 28.0 and later.
So your query should ...
2
votes
Automatically Adding Articles into Community Navigational Topics
This idea already delivered by the Automatic topic assignment feature.
http://docs.releasenotes.salesforce.com/en-us/summer17/release-notes/rn_networks_automatic_topic_assignment.htm
2
votes
Accepted
Assigning the topics you've selected ins't allowed. A Salesforce Admin must enable topics for objects for the article type/s
This means that for the Objects related to knowledge (Lets say you have objects like FAQ) needs to have Topics Enabled .
To enable the topic navigate to Set up|Customize|Topic| Topics For Objects and ...
2
votes
How to enable and configure topics for objects in lightning?
Bumping a year later: In Summer '18, Topics rolled out in Lightning.
https://releasenotes.docs.salesforce.com/en-us/summer18/release-notes/rn_general_topics_on_records.htm
To make Topics visible in ...
2
votes
How to enable and configure topics for objects in lightning?
Switch to classic and search for topics for objects in the quick find box, this option/setting is not yet available in lightning experience.
LEX:
Classic:
Enable and Configure Topics for Objects
...
2
votes
Accepted
How to get subtopic related to Community topic in apex?
there is a method for it ConnectApi (reference). I think you need to use that.
ConnectApi.ManagedTopicCollection topics = ConnectApi.ManagedTopics.getManagedTopics(communityId);
for (ConnectApi....
2
votes
A topic with the name,XXX already exists. How to mass rename a Topic to an already existing one?
You can't edit the Topic itself. You need to interact with the assignment of the topic which means you have to essentially delete the wrong association and create a new association for the same ...
2
votes
Accepted
How to prevent from adding new topic to a record with the specific status?
Topic's association to an SObject is via TopicAssignment object which you can write a trigger on
(untested)
trigger TopicAssignmentTrigger on TopicAssignment (before insert) {
// Pass 1 - get ...
2
votes
Accepted
Metadata Location For 'Topic Assignment Rule' aka 'Automatic Topic Assignment'
This is not yet exposed via the Metadata API. Hence you will have to manually do it again in the Production application as of Today.
I confirmed with the Salesforce Metadata API team.
1
vote
Accepted
Which permission allows user to edit topics inside community in salesforce?
Unfortunately, you cannot stop community user's from editing topics in community. Kindly review Idea and vote for this feature. You can remove 'Assign Topics' on profile if you still need, however ...
1
vote
Accepted
How to best cope with unpackageable metadata (TopicsForObjects) in SFDX
Create a separate package folder called "unpackageable" that's in the same force-app folder but not part of the package that you'll be publishing. Put your topicsForObjects metadata in there. It will ...
1
vote
Accepted
Articles not displaying in Lightning Community
As an update regarding this question, I opened a case with salesforce regarding this and got a response that way. The issue was that our community was created with the language English (US) and at ...
1
vote
How to get subtopic related to Community topic in apex?
The children become visible when you provide the depth parameter
Integer depth =2;
ConnectApi.ManagedTopicCollection topics = ConnectApi.ManagedTopics.getManagedTopics(communityId,ConnectApi....
1
vote
Knowledge Articles in English are not visible in the community for the users with other languages
I did not find any other solution than creating a custom component that retrieves articles by topic Id.
Well, works fine.
1
vote
Cannot create an existing topic within a test class
First Understand about Test Data in Salesforce:-
Apex test data is transient and isn’t committed to the database. This
means that after a test method finishes execution, the data inserted
by ...
1
vote
Accepted
How to Assign Multiple Topics to a Knowledge Article Via API or Apex
The Salesforce Knowledge Developer Guide contains a list of sObjects and resources you might need to know in order to precisely work with knowledge, you will notice that the TopicAssignment is in the ...
1
vote
Accepted
Salesforce Topics lightning component
Assuming you want to utilize the standard Topic component on a custom lightning component, you cannot use it the way you want to.
For your questions:
Is there a lighting component ready for this?
...
1
vote
Accepted
Visibility Problem on Community Featured Topics Questions
I got this to work. I needed to change the default sharing access for Users to Read for External Users. It was set to private.
1
vote
Two topics with the same name, but different ParentID. Only one selectable
You will have different ParentIds for Topics that are internally available vs those Topics that are in the Communities. When you add Topics to Articles internally, they're only visible for internal ...
1
vote
Accepted
Napili Feature Topic Images
Using the community builder, under Branding, Edit CSS
You can reference the element>class and modify the size:
li.topicItem.forceTopicFeaturedTopicItem{
width: 50px;
height: 50px;
}
1
vote
This feature is not currently enabled either for this record type or the given user type or org
I was also having issues with this. I was following along with the link posted (https://help.salesforce.com/articleView?id=000247452&type=1) and noticed I had to switch to classic to enable the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
topics × 65community × 16
apex × 14
knowledge × 14
chatter × 10
articles × 7
soql × 6
lightning-community × 6
napili × 5
visualforce × 3
trigger × 3
customer-community × 3
feeditem × 3
data-category × 3
lightning-web-components × 2
unit-test × 2
rest-api × 2
managed-package × 2
reporting × 2
metadata × 2
isv × 2
lightning-knowledge × 2
connect-api × 2
salesforce-cms × 2
lightning-aura-components × 1