-
What is the Salesforce sObject for a private message?
What is the sObject for a private message?
Log In to reply.
Activity › Forums › Salesforce® Discussions › What is the Salesforce sObject for a private message?
Tagged: Chatter, Chatter Conversation, Chatter Message, Customization, Permissions, Private Message, Salesforce sObject, Salesforce Visualforce, System Administrator
What is the sObject for a private message?
Hi Ravi,
You need to enable the Manage Chatter Messages system permission on a cloned System Administrator profile before you have access to these sObjects.
The ChatterMessage and ChatterConversation objects is what you are looking for.
for instance:
SELECT Body, ConversationId, Id, SenderId, SentDate FROM ChatterMessage
Hello,
With Salesforce Spring’15, we have the ability to write trigger on ‘ChatterMessage’ Object.
So, you can easily monitor the ChatterMessage Activity(Provided the user have the “Manage Chatter Message” on the profile; as mentioned by Samuel)
Thanks.
Log In to reply.