-
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
Configure Salesforce SAML Single Sign-On in 2024
Configuring Salesforce SAML Single Sign-On (SSO) is a critical step in enhancing both the security and user experience within your organization. SAML (Security Assertion Markup…
Salesforce Territory Management in 2024
In the dynamic world of sales, managing territories effectively can make a significant difference in maximizing sales performance and enhancing customer relationships. Salesforce Territory Management…
How Salesforce Boosted the Reach of MrBeast’s $1M Puzzle
Salesforce partnered with YouTuber MrBeast for a groundbreaking Super Bowl campaign that turned a traditional ad into an interactive $1 million puzzle hunt, massively amplifying…
Popular Salesforce Videos
Lead Together with Salesforce | Salesforce Partners
Learn more about the Equality Programs and initiatives that are available to Salesforce Partners, including the Salesforce Talent Alliance. Watch this video to learn all…
Uncomplicating Sales with Salesforce CPQ
Sales representatives spend 34 percent of their time doing actual sales, while a staggering 66 percent of their time generating quotations, ideas, and gaining approvals,…
How to Enable and Create the B2B Marketing Analytics App in Salesforce
This video will walk through the steps to enable Pardot B2B Marketing Analytics in Salesforce Setup, and the creation of the B2BMA app. Prerequisites and…