-
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
Harnessing the Power of Salesforce Health Cloud API: Integration Tips and Tricks
In today's fast-paced healthcare environment, leveraging technology to streamline processes and improve patient care is crucial. Salesforce Health Cloud, with its powerful API capabilities, offers…
Different Types of Object Relationships in Salesforce
In Salesforce, we can associate one object with another object. We can create the relationship by creating a custom relationship field of an object. By…
Bridging the Gap: ChatGPT Integration for a Smarter Salesforce
AI is here! Where are you? The success of your business hinges on how effectively your sales representatives manage customer relationships. To achieve this, your…
Popular Salesforce Videos
Mastering the VLookUp Function | Salesforce Tutorial
Watch this amazing video tutorial and follow these steps to effectively use the VLookUp function for data import purposes in your Salesforce database. If you…
Creating Datasets - Tableau CRM | Salesforce Tutorial
Recipes provide an easy way to update, combine and transform your sources into the datasets you'll use to drive your dashboards. You'll see how to…
How to Set Up Salesforce Knowledge in Service Cloud
Help your customers and agents find answers they are searching for faster with Salesforce Lightning Knowledge. In this video, we will review: - All components…