I added the User Profile component to content in Experience Cloud and checked the Properties per Salesforce Help. I get an error "This component has no data. We can't load the User Profile component because it's not supported by any data. Once you add data, reload Experience Builder to see your component."

As the System Administrator and builder/member of the site, I would expect to see my data as the running user. Why can't Experience Builder detect it? User Id in Properties is {!recordId}. What else am I missing?

  • Do you have it on a user detail page? It should work there, but it won't work anywhere else. May 12, 2021 at 19:03
  • I also tried on User Profile Detail component. There is no User Detail component and no User object. May 12, 2021 at 19:32
  • Have you tried setting the User Id property to {!CurrentUser.id}?
    – Phil W
    May 12, 2021 at 20:36

3 Answers 3


Using User Id {!CurrentUser.id} allows this to work:


  • Did you mean {CurrentUser.id} or {!CurrentUser.id}?
    – Phil W
    May 12, 2021 at 20:38
  • I meant {!CurrentUser.id} with the bang. May 12, 2021 at 20:51

Ok, I think I was wrong on this one. Try adding it in the Themes area of the Experience Builder. Pic below shows all the details (Select your profile component in the dropdown as shown):

Experience Builder User Profile Config

  • Theme doesn't have Search Component or User Profile Component. I was able to get data using {CurrentUser.id} instead of {!recordId} but now the data is formatted badly. May 12, 2021 at 20:13

I figured it out. The page needed to be Object Layout instead of Standard Layout.

  • I tried Object layout - it doesn't work for LWR sites. You should have included screenshot especially when dealing with Experience Cloud
    – compski
    Nov 30, 2023 at 16:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .