Hello frnds today post learn how to show current user profile picture in lightning component so let us start....... Step=>1. goto developer console and create lightning component File=>New=>Lighning Component DisplayUserPhoto.cmp <aura:component controller="LoginUserProfileCtrl" implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" > <aura:handler name="init" value="{!this}" action="{!c.doInit}"/> <aura:attribute name="oUser" type="user" default="{'sobjectType' : 'User'}" /> <h1>Current User Profile Pict...
Comments
Post a Comment