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
BMT-DavidBMT-David 

Is it possible to evaluate a Trigger After Insert or Update "Chatter Free" user profile record?

Hi,

 

I've been looking for any limitation on the following issues... I'll appreciate any assistance.

 

1. Is it possible to trigger an event after insert or update a "Chatter Free" user records?

2. Is it possible to attach the Chatter Free user profile photo to a specific contact record? As an Attachment!

 

Many thanks

 

David

Best Answer chosen by Admin (Salesforce Developers) 
RishiKaliaRishiKalia

Hi David,

 

Yes, you can develop trigger on User Object that will fire on event  "after insert" or "after update". In trigger check for field Usertype. This field have value related the category of user license.

 

In you case :

 

CsnOnly: user whose access to the application is limited to Chatter. This user type includes Chatter Free and Chatter moderator users. Label is Chatter Free.

 

For more info on userType  : http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_user.htm

 

Using same trigger you can also update your specific contact object field to the user profile picture url.FieldName for user profile Pic is " FullPhotoUrl " in user object.

 

Hope the info will help you.

 

All Answers

RishiKaliaRishiKalia

Hi David,

 

Yes, you can develop trigger on User Object that will fire on event  "after insert" or "after update". In trigger check for field Usertype. This field have value related the category of user license.

 

In you case :

 

CsnOnly: user whose access to the application is limited to Chatter. This user type includes Chatter Free and Chatter moderator users. Label is Chatter Free.

 

For more info on userType  : http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_user.htm

 

Using same trigger you can also update your specific contact object field to the user profile picture url.FieldName for user profile Pic is " FullPhotoUrl " in user object.

 

Hope the info will help you.

 

This was selected as the best answer
BMT-DavidBMT-David

many thanks !! :)