function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ritesh AswaneyRitesh Aswaney 

Chatter Private Messages

When a full copy sandbox is refreshed from Production, I'm guessing people's private chatter messages are also copied across.


And if other folks can login as them on these full copy test environments - I'm guessing they will be able to access people's private chatter messages.


Is there a way to prevent this - other than I'm guessing physically delete all these private messages.

Ritesh AswaneyRitesh Aswaney

I tried selecting from the ChatterMessage object, but it returns an unsupported object error, even though apparently it should exist  as per ?


Or am I missing a trick !?

Jia HuJia Hu

Yeah, we have the same problem.


It seems hard delete is the only way now. You may contact the Salesforce support to see if they can exclude this object when refresh full sandbox.


I wish Salesforce will consider to give us the power to select the objects for refreshing in the future.


BTW, you need “Manage Chatter Messages” permission to access ChatterMessage object.