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
PecheurPecheur 

How can I disable the notification email of chatter to users who belong to one or more Division?

Hello
1 - How can I disable the notification email of chatter App to users who belong to one or more Division?
2 - It is possible to do this in the administration and/or with Apex?

I can disable notification for all users, but I can not disable the notification email for some user or for user of division.

I have 1000 users to update

Thank you for your help

Vinita_SFDCVinita_SFDC

Hi,

 

It is not possible to achieve this requirement without coding. You can write a trigger on Chatter object, where you can make a check on user's division and set attribute 'DefaultGroupNotificationFrequency' = N i e never.

 

For a list fields available on User object refer: http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_user.htm