function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Art Smorodin 7Art Smorodin 7 

Community (Napili Template) User Profile component

Hi All, 

as youmay know the new Napili template "User Profile" component is now a standrd (out of the box) lightning component that we can use. I have a question regarding field visibility of that component. 

So on the user profile component, if I am the user, I can see all my standrad fields (email, address, First Name, Last name) and all my custom fields I Iadded. If I look at my own page I can see all those populated. But if, within the same Community, I open up a User Profile page of another user, the view is different. The layout is the same but some of the fields are hidden. Email and street address for example are both hidden. 

My question is: how do I make some of my custom fields hidden as well, without creating a whole new Component. The Idea is that I can put some addition info on the user profile without worring that other community users will be able to see that data. 

P.S. the two users I am using to test this belong to the same Account and have the same Role and Profile. 

Thank you in advance.