-
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
Types of Report Formats in Salesforce - All You Need to Know
What are the Report Formats in Salesforce? A Salesforce report is a list of information produced dependent on predefined standards. They can be displayed in…
Twilio Integration With Salesforce Part I - How to Send A Message From Salesforce to a Phone Number
This blog is the first part of Two part blog on Integrating your Twilio Account with Salesforce. In this blog, I will be displaying how…
Improve your Apex Code Unit | Salesforce Best Practices
In this blog, we are going to discuss the best practice of Apex. Apex code is used to write custom business logic. in any language,…
Popular Salesforce Videos
How To Reset Salesforce Security Token?
Salesforce security token is a case-sensitive unique key that is used to work with Salesforce API. In this video I will show you how to…
Salesforce Lightning Process Builder: Lightning Process Builder Basics
The Salesforce Lightning Process Builder is a new workflow tool that helps anyone in your company quickly and easily automate business processes such as employee…
Understanding Future Method | Difference Between Asynchronous and Synchronous Apex in Salesforce
In this video, Shrey explained Synchronous Apex and Asynchronous Apex in a simple way. He also explained the importance of the Future method in Salesforce.…