-
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
Industry Best Practices to Implement Salesforce Marketing Cloud
The Salesforce Marketing Cloud is a sophisticated technology developed by Salesforce that automates the marketing of a business across a variety of channels, including but…
How To Integrate Salesforce With Netsuite?
Salesforce is the worldwide leader in making revolutionary business applications, served from the cloud and are designed to help generate leads for an organization. Also,…
Top Advantages of Integrating WordPress with Salesforce
We are already aware of the fact that WordPress is the world’s most commonly used Content Management System (CSM) which people rely on heavily across…
Popular Salesforce Videos
How Is Salesforce Overcoming the Rise In Generative AI?
Discover how Salesforce is harnessing the power of Generative AI to revolutionize customer experiences, streamline processes, and innovate like never before. In this extract discover…
How to use Einstein Engagement Scoring in Salesforce Marketing Cloud
Cameron Robert shows how to gain actionable insights from the Einstein Engagement Scoring Dashboard in Salesforce Marketing Cloud, and talks through a few activity ideas…
Driving Gamified Interactions on Salesforce Communities With ScoreNotch | Use-Cases
A Salesforce-native, Lightning-ready solution, ScoreNotch enables you to dynamically gamify Salesforce communities. Watch this video to learn more about its use-cases. For more, please visit…