-
Can we update profile picture of user on onCreateUser()?
I use ConnectApi to modify picture of User in custom salesforce login (Facebook, Twitter...), like this:
global void updateUser(Id userId, Id portalId, Auth.UserData data){
...
ConnectApi.ChatterUsers.setPhoto(communityId, userId, fileUpload);
...
}Anyone please help.
Log In to reply.
Popular Salesforce Blogs
Apex Intention Actions: The Next Frontier for Apex Completions
Idea from IDEa Recently, I needed to code a little tool in Java. The last time I coded something in Java was in high school,…
Continuous Integration and Deployment for Salesforce
Salesforce continues to be at the core of business operations for companies large and small around the world. It is an incredibly powerful tool, but…
How Partner Portals Can Help Computer Hardware Businesses Gain a Competitive Advantage?
The most popular computer business in the world started with and because of a partnership. Steve Wozniak would have happily given away anything he made…
Popular Salesforce Videos
Getting Turn by Turn Directions Between Scheduled Events | Salesforce Maps Mobile
Watch this video to learn how to get turn-by-turn directions between scheduled events in Salesforce Maps Mobile. 00:00 - Introduction 00:19 - Access your Schedule…
Winter '21 Release | Salesforce Tutorial Video
The Sandbox Preview window for Winter '21 begun on September 11, 2020. You must have an active sandbox on a preview instance before then to…
GDPR & Telephony Consenting & Forgetting In Salesforce
The big noise in the market right now is GDPR, the General Data Protection Regulation. This is the new European rule for data protection which…