Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

27
votes
4answers
39k 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 ...
15
votes
4answers
7k 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 ...
3
votes
1answer
3k views

Chatter REST Api User Photo Example

I'm looking for an example that uses the Chatter REST Api to upload a User Photo. The documentation explains the syntax, but they don't give an example of the HTTP form data to POST. Elsewhere in ...
6
votes
2answers
2k 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?
5
votes
2answers
5k 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 ...
9
votes
4answers
11k 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 ...
3
votes
3answers
1k views

Can you restrict Chatter mentions by Profile in Salesforce Communities?

We have 1 Community that both internal and external users of the company have access to. We've created 2 separate Salesforce Profiles for each: Internal Community User External Community User ...
7
votes
3answers
7k 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 ...
6
votes
2answers
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.
5
votes
1answer
2k views

Sharing Feed Item with Chatter Group

I am capturing YouTube URLs in a Custom object, and I want to post new submissions to a chatter group. But I also want to take advantage of the nice inline youtube player in Chatter Feeds, which I ...
5
votes
1answer
2k 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 ...
4
votes
2answers
4k views

Link in Process Builder chatter post

I've created a workflow using the process builder and added a Chatter Post as an action. How Can I add a link to that post, a link which people can click and go to a SF record?
3
votes
2answers
428 views

FeedItem Trigger - Parse Mentions?

There are many questions out the about how to add @mentions to a chatter post, but this question is the other way around: How do I read @mentions from a FeedItem in the trigger context? I need to ...
3
votes
1answer
407 views

Can Chatter Connect API set createdByUser to other than logged in user?

I know this question has been asked earlier but I could not find the answer. I am trying to create chatter Feed using Chatter connect API and my need is "Createdby user should be different than ...
1
vote
2answers
1k views

Use standard stylesheet with custom for Chatter VF page

I am designing a custom styled vf page that will show the user's chatter feed. I am trying to use the chatter:feedWithFollowers component but all the styling goes away when I use the ...
1
vote
0answers
54 views

is it possible to integrate a chatter news feed from two seperate orgs?

the senario is that we want to be able to have a 3rd party supplier share post and info from their SF org with users on our internal SF org. I woulld like to know more about the different options ...
7
votes
1answer
4k 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 ...
2
votes
1answer
7k views

Upload files to a Case in SalesForce via REST API

I'm working on uploading attachments from my website to Salesforce, attachments should be related to case object. I'm using REST API in PHP. So problem is that I get an error when I tried to upload ...
5
votes
1answer
704 views

SOQL query FeedItem by community

I would like to query feed items on a specific community, but can't figure out how to do so in SOQL. For example, this query returns no results. SELECT Id,Body,NetworkScope FROM FeedItem WHERE ...
5
votes
2answers
2k views

How to access the profile photo of a user in a Lightning community?

I am trying to make an application that would present chatter content to be displayed in a lightning community. What would be the best way to display the profile photo of the user who posted this ...
8
votes
1answer
2k 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 ...
4
votes
2answers
569 views

Apex Auto-Follow in Chatter

I need to develop Apex code to allow team members to auto-follow in Chatter when they are added to the Account. Team members are added to fields, and our consultant developed code to push the field ...
4
votes
2answers
2k views

How do I write tests for custom classes that primarily use ConnectApi?

I have implemented a VF page that displays a Chatter Group feed using the example classes provided in the Salesforce Cookbook. I have implemented all of these classes (with some tweaks and added ...
4
votes
1answer
4k views

Image upload to chatter post

I am trying to send image to chatter post from my Android app and I am using below code to do this. String url ="https://ap1.salesforce.com/services/data/v25.0/chatter/feeds/news/me/feed-items"; ...
4
votes
1answer
531 views

how to update a field if user follows a record

My use case is to find total followers on a particular record So when somebody follows/unfollows that record i would like to update the number of followers of that particular record .stored as a ...
3
votes
0answers
347 views

References to URLs returned by Apex ConnectApi in Salesforce1 mobile

I have a VF page that I am using as an inline page on the Opportunity detail page layout. It retrieves and displays files (FeedItems with ConnectApi.ContentCapability) from Chatter feeds on records ...
2
votes
2answers
4k views

Creating a FeedItem Using Connect in APEX

My goal is to create a trigger/class that, when a Financial Account (custom object) has it's balance change by more than 20% in either direction, creates a chatter post informing users of the 'Big ...
1
vote
1answer
4k 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 ...
10
votes
1answer
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 ...
9
votes
2answers
575 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;...
5
votes
1answer
4k views

Custom VF Page for Publisher Action to Create Post on Chatter Group linked to Opportunity

I'm working with an answer submitted here to be able to post to a group and automatically link to an Opportunity. I'm going to use the VF page as a custom Publisher action. This post was very ...
3
votes
4answers
3k 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 ...
3
votes
1answer
3k views

Error: The Connect API is not enabled for this user type

I am working on creating a Force.com site and I have a VF page which displays fields from a custom object record and also displays its Chatter feed. I achieved displaying the Chatter feed using the ...
2
votes
1answer
466 views

Can community users reference internal users in Chatter?

In my organization the Account object has public read/write on the sharing settings, and my community users can only @mention the system administrators and other people from the same community on ...
2
votes
2answers
588 views

Unknown user permission: ChatterInternalUser while deploying the profiles

getting following error : Unknown user permission: ChatterInternalUser while i am deploying profiles. following the xml file : <types> <members>Accounting</members> <...
2
votes
2answers
4k views

How to dynamically creating chatter groups in Apex?

It looks like ConnectApi.ChatterGroup is abstract. Is there really no way to create Chatter groups via connect in Apex? Is the solution to call the chatter REST API from APEX? UPDATED based on ...
2
votes
2answers
2k views

Can we open files/attachments in Salesforce1 without enabling Chatter?

It appears the only way to open files in Salesforce1 is via "Salesforce Files" - previously called, "Chatter Files" which is tightly coupled to Chatter. When creating Chatter files, it seems to piggy ...
2
votes
1answer
977 views

Unable to send myself a test Chatter Message

I am trying to send myself a test Chatter message as the first step towards a proof of concept. The desired outcome is that I will get a private chat message pop up in the bottom right-hand corner of ...
2
votes
1answer
2k views

Attaching image to chatter post using Chatter rest API

I want to add image to the content which I am posting to chatter. I am using chatter rest api but not able to do it.. Any kind of help will be greatful. I am using below code for uploading image ...
1
vote
4answers
2k views

Flow - Create Chatter @ Mention Post

Ok, I have my flow creating a FeedItem record but I can't get the @mention to work properly. I am posting to a Chatter Group so I can't use the ParentID field and the related to field is referencing a ...
1
vote
0answers
209 views

Any idea about : System.RequiredFeatureMissingException: Object 'Group Subscription' not supported

Do any one have idea about this exception? Or any one experienced the same issue? Group Subscription is not a standard object. I read to this doc https://www.salesforce.com/us/developer/docs/...
1
vote
1answer
545 views

<chatter:follow> in lightning component

In a VisualForce page we can use <chatter:follow> to show a Follow/Unfollow button on a page: <chatter:follow rendered="true" entityId="..." /> What is the equivalent for a custom ...
1
vote
1answer
3k views

Difference between Chatter Plus and Employee Community

Chatter Plus and Employee community seem to be very similar licenses. Is there a general difference between Chatter Plus and Employee Community? Do they have the same object permissions?
1
vote
1answer
168 views

Chatter on Force.com site.?

I want to use chatter feeds on Force.com sites.Its working fine inside VF page.Force.com its blank. Is there any limitation? Can you please help.? Thanks
1
vote
1answer
439 views

Chat widget in customer portal

I want to show chat widget in customer portal. I have enabled it and it is working fine with salesforce user but not in customer portal. Any idea if that is possible as of now?
1
vote
1answer
1k views

How to Customize the Email template on chatter posts

I want to customize the email template sent on the chatter post of the record with the @user full name to have some fields from the record. Is this possible, or how can I achieve this? Please help. ...
1
vote
2answers
622 views

chatter publisher actions in touch

Are there plans to add the global or object-specific publisher actions in Touch or Chatter Mobile apps? For example, if I get my desktop users used to creating records via chatter, are they going ...
0
votes
1answer
699 views

Test Class - Existing Chatter Group - complication

Can someone tell me how I can avoid using (seealldata=TRUE) BUT still be able to access an existing Chatter Group in a test class? Example with use of the SeeAllData=TRUE clause; //Find Chatter ...
0
votes
1answer
315 views

chatterfeed toggle not working post Spring '13

in my application I created a Javascript(posted below) to show and hide chatter feeds in the home page which was working fine till winter release.But post Spring '13 release the chatter toggle ...
0
votes
2answers
277 views

Is there anyway to post feedcomment dynamically

Is there anyway to post a feed comment dynamically for the particular feeditems in visualforce? Please help!