Skip to main content

Questions tagged [chatter]

Chatter is a feature of Salesforce.com that provides a way for users to collaborate with other users within a Salesforce organization. It has a Facebook like interface that allows users to follow records and other users, share files, update statuses, like posts, and post questions or comments at specific records or users. It is marketed by Salesforce as a cornerstone of the social enterprise.

Filter by
Sorted by
Tagged with
43 votes
6 answers
119k views

How to get salesforce instance url

To access chatter rest api using APEX code, I need salesforce instance server url in following format: https://na17.salesforce.com Is there any method which works in all cases Case 1: Any ...
Ashish Narang's user avatar
25 votes
5 answers
28k views

Remove Record Type from Chatter Profiles

I want to remove the Record Type applied to a Custom Object. There will be no record types at all. I cannot remove one of the record types because its set to the default for several profiles (in fact ...
powlo's user avatar
  • 2,660
15 votes
4 answers
11k views

How can I add an @mention when creating a FeedItem via APEX?

I have found that this can be done via the Chatter API, and that there is a pilot program (http://developer.force.com/cookbook/recipe/connect-in-apex-pilot) to bring this to APEX, but I am not ...
jackerman09's user avatar
  • 1,903
11 votes
4 answers
14k views

How to query all Chatter Files attached to a record?

We're trying to build a custom Visualforce related list that will show all the Chatter Files that are related to a record. All files should be displayed, regardless of if they are explicitly shared ...
Matthew Lamb's user avatar
11 votes
1 answer
2k views

How to do a multi-level relationship query on Chatter/Comments

Trying to perform a SOQL query to retrieve related FeedItems and FeedComments (on the related FeedItems) to my sObject and I retrieved a warning that multi-level queries aren't allowed. Can anyone ...
jordan.baucke's user avatar
11 votes
1 answer
2k views

Is There a Way to Get Chatter Notifications?

If you @mention or send a message to a Chatter user, you get a notification in Salesforce1. This appears immediately so it's a safe bet that push notifications are being used to dispatch them. However ...
Matt Lacey's user avatar
  • 25.7k
11 votes
1 answer
364 views

Is it possible to access Chatter influence in Apex?

Chatter Influence is accessible through the REST API, but not through Chatter Connect. Is there any convenient way to access influence, or do I have to make a call out (and back in) to the Chatter ...
Wes Nolte's user avatar
  • 2,136
11 votes
2 answers
191 views

CORS issues with Chatter API Photo Posting

I have a Chatter Communities API request that creates a new user profile picture. This API callout works when I use an app like Ruby or even a cURL command. However, using an AJAX callout, I get a ...
David Staley's user avatar
9 votes
1 answer
2k views

Isolate and Disable Chatter

Possible that in the future I will train users on chatter, but currently attempting to reduce the surface area of Salesforce that requires training and management. Appears that if I turn off chatter, ...
blunders's user avatar
  • 1,618
9 votes
2 answers
855 views

Does 'Chatter in Apex' aka Chatter Connect API support Bulkified insert operations?

I want to add Chatter feeds from Trigger and obviously I am going to implement this as Bulkified. I have data in the following format. Public Class ChatterFeedInfo { public Id usermentionId {get;...
PK85's user avatar
  • 785
8 votes
1 answer
6k views

Preview Chatter File in Visualforce

I've found a lot of people talking about this but no real answers. What I am trying to do is simple just show a little thumbnail preview of a file in a custom component SELECT ContentDocumentId FROM ...
Keith Mancuso's user avatar
8 votes
1 answer
3k views

Adding new "Files" related list to Visualforce page

I'm trying to add the new Chatter Files related list to a Visualforce page but not having much luck. In the past, in order to add the Notes & Attachments related list, you would use: <apex:...
psheil's user avatar
  • 308
8 votes
1 answer
3k views

@Mention with apex code

In this post i want mention the user. I'm using the connect apex chatter. I'don't know how mention the user with u.id,and now i'm getting an error: FATAL_ERROR System.NullPointerException: Attempt ...
Enry's user avatar
  • 3,726
8 votes
2 answers
916 views

Do Chatter Desktop & Chatter Mobile Apps Use the Chatter Connect API?

I may be firing in the dark but I want to know some insights into how the Chatter Desktop and Chatter mobile apps (such as iOS & Android) work. Do these tools use Chatter Connect API? I ask this ...
Gaurav Kheterpal's user avatar
8 votes
3 answers
12k views

Create Chatter post with mix of HyperLinks and text in the Body (in Apex code)

How to create a chatter post in the body I want to add Links in between. (in Apex code) its not complete link or complete plain text. I am looking at mix of both Example Chatter post - just has ...
Prafulla Patil's user avatar
8 votes
1 answer
4k views

Using a flow, can you post in Chatter on behalf of another user

In our community, we want to post automated welcome messages in Chatter. Does anyone know if it is possible to use a flow and process builder to post to Chatter on behalf of another user, like say a ...
greenstork's user avatar
  • 14.8k
8 votes
1 answer
2k views

Salesforce1 mobile app + Chatter Community

We are a small NPO with a decent sized network. We have an active chatter instance in our chatter community pages for our partners. We have no need for an internal chatter feed in our SFDC CRM. I ...
Paul Weaver's user avatar
8 votes
2 answers
763 views

Query Chatter Comment Files for a group of records

My question is similar to this one except that I need the files for a group of records, making the solution of querying ContentDocumentLink unworkable, because it requires a single Id for the where ...
Daniel Blackhall's user avatar
8 votes
2 answers
2k views

User Trigger while changing the Chatter Profile Picture

The chatter profile picture url is saved in the User FullPhotoUrl field. If we try to modify the picture/upload a new picture in the chatter profile image, the trigger in the user object is not ...
Priyanka's user avatar
  • 1,909
8 votes
2 answers
6k views

Is it possible to modify Chatter Email Notifications?

We have now implemented Communities for most of our customers. Therefore we are using Chatter instead of Case Comments and are considering if / how we could customize the automatic Email Notification. ...
Franziska Lohmann's user avatar
8 votes
0 answers
65 views

Hide Chatter in Home Page after Summer 15 [duplicate]

Salesforce is phasing out the use of arbitrary HTML on Home Page Components. I have used CSS or JS solutions to hide the Chatter Feed from within a HTML Home Page Component. This allows a more ...
Rob Hatch's user avatar
7 votes
5 answers
4k views

Lightning: Getting a 401 when calling @AuraEnabled Apex method to do a REST call

Trying to write an Apex method that accesses Chatter REST api using this technique: https://chintanblog.blogspot.com/2017/02/call-salesforce-rest-api-from-apex.html This method is @AuraEnabled - so ...
Michael Soriano's user avatar
7 votes
3 answers
11k views

Chatter Group for Customer Community Users

I wanted to create a chatter group for community Users and internal users should also be able to participate in the group. Not sure the correct procedure. Does the Sys Admin need to create the group ...
sdondeti's user avatar
  • 705
7 votes
2 answers
4k views

Retrieve UserId of @mention user from chatter post in Apex

Is there a way to retrieve the user id of @mention user from chatter post in Apex? We can write a before insert trigger on feeditem, but when we display the body (which has @mention user) it simply ...
Karthik's user avatar
  • 71
7 votes
2 answers
3k views

Enable or check Chatter Feed Tracking programatically

Is there any way to enable Chatter Feed Tracking programatically for a object in salesforce.com? If not, it is possible to detect if an object is chatter enabled?
Prafulla Patil's user avatar
7 votes
2 answers
1k views

Posting to Chatter via APEX in a Managed Application - Allow Chatter to be disabled

We are going to enhance our managed package by adding automatic chatter updates when a user takes certain actions in the application. I found some examples in the Chatter Code Recipes that works ...
AngiB's user avatar
  • 515
7 votes
1 answer
7k views

As of Winter ’24, Chatter emails are no longer sent from orgs

There are a increasing number of cases where administrators are complaining that the chatter email notifications are not going out after the Winter '24 Salesforce release. What is causing this?
Mohith Shrivastava's user avatar
7 votes
3 answers
3k views

Get the body of Chatter files?

Using Apex, how can I get the body of files uploaded using Chatter? I want to send the document with web service methods.
NHL's user avatar
  • 105
7 votes
2 answers
16k views

Query Chatter Feed, Topics, and Groups

First off, my end goal is lofty and time-consuming, but we need metrics and this is the best way to do it (that I can think of). Originally, a chatter post was created on the quote, case, or where ...
Grant's user avatar
  • 330
7 votes
1 answer
436 views

Database.DMLOptions - How to prevent Chatter Group Auto-Follow trigger from generating email

Currently I have a trigger which auto-follows specific groups in our organization when a new user is brought onboard. The auto-follow trigger feature works great! However, we have quite a few groups ...
Ilene Jones's user avatar
7 votes
2 answers
3k views

Trigger to avoid file upload to chatter comment

We want to avoid, that a user is able to upload files to chatter comments. We realized this by creating triggers on FeedComment and ContentVersion. This prevents to save the comment successfully. If ...
user1902191's user avatar
7 votes
1 answer
303 views

Invite people to user chatter via Apex code

when I'm within a chatter group I can do two things: Add a group member Invite people I know how to add a group member via Apex code, however I need to invite people to join this group through an ...
Luis Eduardo Mogollón's user avatar
7 votes
1 answer
5k views

How can I use Chatter in an external Web Site?

Is it possible to integrate Chatter module in an external website? The goal is to use Chatter in an external web site and can create post about one document or custom object. I can add Chatter ...
Pecheur's user avatar
  • 101
7 votes
2 answers
2k views

Receive this error from installed package 'System.QueryException: sObject type 'CollaborationGroup' is not supported.'

I am getting the error - 'System.QueryException: sObject type 'CollaborationGroup' is not supported.' When running the following code as part of a managed package by scheduled apex: List groups =...
Richard Durrant's user avatar
7 votes
1 answer
635 views

No records returned from SOQL query on FeedComment with Left Inner Join

I'm trying the following SOQL query on the FeedComment object on workbench and getting no records returned, though there are definitely records that should be returned. SELECT Id, ParentId, ...
gorav's user avatar
  • 4,537
7 votes
2 answers
2k views

Accessing Chatter API in Communities

I'm Having trouble accessing the Chatter API in the context of a community. Mainly, we have a certain type of user that only has access as a user of a SalesForce community we are using to act as an ...
David Staley's user avatar
7 votes
1 answer
396 views

What Controls the URL Format for Chatter Content?

When I query the chatter connect API through Javascript from a Visualforce page in a desktop browser, the post attachment URLs I receive use the visualforce domain that the page is being served up ...
Matt Lacey's user avatar
  • 25.7k
7 votes
2 answers
1k views

Custom link or button to download most recent version of chatter file

Is there a particular url I can put into a custom link or button that will link to a chatter file, that when clicked will download the most recent version? I know I can use the download url to get a ...
ChrisN's user avatar
  • 343
7 votes
0 answers
2k views

Email chatter followers on every post to record

I want to email all the followers of a record anytime anyone posts to the chatter feed. I assumed this would be simple but it doesnt seem to be built into the system? It seems like im gonna have to ...
Keith Mancuso's user avatar
7 votes
2 answers
490 views

Importing historical notes into Chatter Feed

I want to import freeform notes from another system into Salesforce. I'll like to import this data into the Chatter feed using the API (we'll write a custom importer). But I need to set the created ...
Steven Herod's user avatar
  • 3,523
6 votes
2 answers
2k views

What is the SObject for a private message?

I want to monitor private message and want to check and store at admin side. so admin can see who doing message to whom and make the policy for to sending the message.
Kishan Trambadiya's user avatar
6 votes
2 answers
12k views

Unable to @mention Partner user on chatter feed by Salesforce Internal User

I have a usecase wherein a Partner user creates a Case which gets assigned to internal Salesforce user. The agent resolves the case and wanted to collaborate with the partner user with @mention tags ...
Jatin Jain's user avatar
6 votes
2 answers
13k views

Adding users via Data Loader and activating them in one step

I have an idea, don't know whether or not it's possible. I need to add ~ 200 users to my org and have them all activated at the same time and have activation emails sent to their user email address. ...
akarnid's user avatar
  • 1,842
6 votes
4 answers
8k views

Can't Insert CollaborationGroup in Test Class

I've got a Trigger that will automatically add newly created Users to our companies main chatter group. It works as expected, but the test class is failing for some strange reason! When I try to ...
Dan Jones's user avatar
  • 7,227
6 votes
2 answers
5k views

How do I add Chatter onto a visualforce page? Is it possible ?

Hi I just migrated my portal to communities. And I've added extra functionalities such as self registration and my profile page. I'm wondering if its possible to add a salesforce chatter onto a ...
user avatar
6 votes
1 answer
1k views

Access user's MY SETTINGS through apex code

For any individual user, he can click on MY SETTINGS. Navigate to CHATTER. Then EMAIL NOTIFICATIONS. There under Personal section, deselect "Follows Me" to stop receiving email notifications when ...
Testing_SFDC's user avatar
  • 2,950
6 votes
2 answers
477 views

NetworkMember trigger not executing when reputation points increase

I'm trying to create a POC for reputation levels / capturing changes in a trigger. I've seen various Salesforce docs that mention this is possible with NetworkMember triggers: NetworkMember object ...
Salesforce_Noobie's user avatar
6 votes
2 answers
3k views

Add multiple people to chatter group and NOT email notify them

I want to bulk add all my users to an ALL Company Chatter group, but i do not want to send out email notifications. I know i can add people in bulk with DemandTools, I just do not want emails to go ...
user1022913's user avatar
6 votes
1 answer
2k views

Show "last Chatter date" on parent record?

Anyone know of a way to store (akin to Modification Date, etc) the 'last Chatter date' on a record (Account, Lead, Contact, or especially Case)? Perhaps a canned Trigger someone has made if it's not ...
AMM's user avatar
  • 4,704
6 votes
2 answers
508 views

Querying Chatter tags

Is it possible to query Chatter tags via APEX? For e.g. if I'd like to know the tags associated with an Account record, can I query them using SOQL? Anup
Anup's user avatar
  • 3,810

1
2 3 4 5
19