Find your content:

Search form

You are here

What is the SObject for a private message?

 
Share

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.


Attribution to: Kishan Trambadiya

Possible Suggestion/Solution #1

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)


Attribution to: Vishal_kdn

Possible Suggestion/Solution #2

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

To be honest, if you do this you should make all your users aware of this, and I'm not sure if this might be affected by local regulations. Here, system admins are for instance not allowed by law to check employee mails on the mailserver for instance. (As far as I'm informed).

Sometimes, to get your users at their top efficiency, the best way is to give them the freedom and let go of some control/monitoring.


Attribution to: Samuel De Rycke
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/1041

My Block Status

My Block Content