-
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
Implementing Salesforce Path in Lightning
Salesforce developers use Salesforce Path as a successful visualization tool that helps users as a guide along any particular path to reach a final goal.…
Salesforce Automation Process
Introduction - Salesforce provides multiple tools to automate your organization's business processes. These Salesforce Automation are - Don’t forget to check out: Salesforce Automation with Flow…
Lightning Data Service (LDS) in Salesforce
If we have a lightning application that Creates, Reads, Updates or Deletes a record (basically CRUD operations) in the Salesforce database, Lightning Data Service (LDS)…
Popular Salesforce Videos
Driving Gamified Interactions on Salesforce Communities With ScoreNotch | Use-Cases
A Salesforce native and lightning-ready product that makes gamification more dynamic and engaging. It encompasses powerful features that boost community engagement and ROI. Do let…
Introduction to Quip for Customer 360 | Salesforce
In Quip for Customer 360 Admin Foundations, you’ll be introduced to Quip for Customer 360 from the admin perspective. You will gain an understanding of…
How to Use Salesforce for Project Management
When you think of CRM software, "Salesforce" is probably one of the first words that comes to mind. But Salesforce can do so much more…