Questions tagged [entitysubscription]

EntitySubscription is a class to use to store the Subscriber(or Followers) of a File/Object in Chatter.

Filter by
Sorted by
Tagged with
0
votes
0answers
136 views

Subscriptions not seen in Salesforce platform events

I am trying to subscribe to Salesforce Platform Events in my Developer Edition through AWS Lambda via Connected App(Using nforce SDK). Code is as follows: var AWS = require('aws-sdk'); //Importing ...
0
votes
1answer
381 views

Need help with this strange error: DUPLICATE_VALUE, duplicate value found: <unknown> duplicates value on record with id: <unknown>: []

I have an apex code which identifies users who have subscribed to an Account( basically followed an Account for any chatter posts ).The code then subscribes these users to the related Opportunities of ...
4
votes
1answer
164 views

Apex - Accurately Identify users tagged in Chatter comments and set them as followers automatically [duplicate]

I already know how to set someone to auto-follow a record based on specific criteria (record created, modified, etc) by inserting records into the EntitySubscription object. What I am trying to ...
0
votes
1answer
127 views

Help with EntitySubscription trigger

I am definitely in the beginning stages of my Apex learning, so I was hoping if I could ask for help on a problem I am working on. I would like to create a trigger which would auto subscribe a user to ...
2
votes
1answer
120 views

Add subscriber to a chatter feed on a parent object

I am new to Apex, and I was hoping that I could get help. My goal is to auto subscribe a user to chatter on parent object. For example, I have two object, Story, and Story Task. Story is the parent ...
0
votes
1answer
58 views

What is FeedSubscriptionsForEntity on Contact?

I'm looking through the code base for my organization and I see that there are SOQL references to "FeedSubscriptionsForEntity." For example: SELECT SubscriberId FROM FeedSubscriptionsForEntity or ...
0
votes
1answer
31 views

Is this trigger efficient? Subscribing owner and teamMembers

Trying to make the Opportunity Owner and Team Members follow the Opportunity - I think this is working but I bet there is a more compactway to process. Thanks! trigger OppOwnerFollower on ...
0
votes
1answer
379 views

AutoFollow using EntitySubscription

I'm trying to write a bulkified logic for a problem on entity subscription. I've a custom object Student which has custom lookup field to User named as Mentor. The use case is when the mentor field is ...
2
votes
1answer
105 views

EntitySubscription object not available in the partner developer org. Any thoughts please?

We are not able to find EntitySubscription object in the partner developer org which is created in Partner org. This is the developer org we created using Environment Hub option. We are planning to ...
0
votes
1answer
733 views

Trigger on Attachment to insert FeedItem

I have been trying to get a trigger to fire when a new attachment is inserted (After insert), the ParentId is Event for that attachment, and the Event is related to an Account. So, if anyone inserts ...
3
votes
2answers
1k views

Which object holds the “follow” details?

I am wondering which object holds the details of "follow". When i click the follow link in Account detail page I understand we can follow the record changes. Based on that understanding i have ...
1
vote
1answer
39 views

Is it possible to add extra settings into the Email settings [picture]

Is it possible to add a table of values into the default Salesforce Email settings window? I wanted to add a Table section into the area marked RED in the picture. Thanks in advance!
1
vote
1answer
256 views

Follow multiple objects on Chatter when following one object

We have a custom field on the Opportunity object which creates a parent/child lookup relationship. A parent opportunity may have multiple child opportunities. A family of opportunities is simply a ...