I want to migrate to lightning experience, and I don't see the "Log in to Portal as user" button in my lightning contact layout.

If I view the contact layout in classic Salesforce, I can see and manage the button:

Existing external user buttons

But on the lightning experience contact page I can see the "Enable Customer User" button only:

enter image description here

And this is on the same contact (my contact has already a user).

Am I doing something wrong?

Does anybody know if this feature is available today for lightning experience?

  • Any idea if this is available yet? – Bow-chicawow-ers Jun 27 '17 at 17:12
  • This is not available, I have created my own set of buttons to do that – Itai Shmida Jun 29 '17 at 15:26
  • @ItaiShmida, I'm about to embark on that same task. Any chance you might be willing to share the implementation of those buttons? No problem if it would violate IP restrictions. Just figured I'd ask. Thanks! – Scott Wells Aug 1 '17 at 21:10
  • I'll try to create a gist project for you – Itai Shmida Aug 2 '17 at 9:56
  • please look at my answer and rate it, any comments for the gist would be highly appreciated – Itai Shmida Aug 2 '17 at 14:05

This feature is currently unavailable in Lightning UX: https://releasenotes.docs.salesforce.com/en-us/winter16/release-notes/lex_gaps_limitations_other_products.htm

This was a big reason why I have not moved my Org to Lightning.

| improve this answer | |
  • We've run into some issues with some of the gaps in lightning UX, hopefully they will address sooner than later – curtisk Nov 16 '16 at 21:24
  • Thanks for the answer, but this document says that Salesforce Communities is not supported. I don't need support in communities, I just need this button. And if this is the reason - why is the "Enable Customer User" button available? – Itai Shmida Nov 17 '16 at 5:33

I am posting here my component for Log in as a Portal User and Enable Customer User buttons - for users to use until Salesforce creates standard buttons for that.

I have created a gist for that:


This lightning component is a card box to add to your contact record page.

Inside this gist there is one lightning component bundle, and one apex class.

The card displays a button:

  • If current contact has a portal user, the button is for login to the portal
  • If current contact does not have a portal user the button is for creating a portal user
| improve this answer | |
  • thanks for posting this. Is this free to use, even in a commercial application? If so, is there any type of license or statement of reuse you'd like to add to the gist to clarify that? Just always have to cover the bases when using code that wasn't produced in-house. Thanks again! – Scott Wells Aug 2 '17 at 15:45
  • I posted it so everyone can make use of it - private commercial and all. So fill free to use. If you have any fixes or comments - please send me so I can update the post. Also - you can up-vote this answer as useful to say thanks. – Itai Shmida Aug 3 '17 at 5:52
  • 1
    all these features should be available now in lightning: https://releasenotes.docs.salesforce.com/en-us/winter18/release-notes/rn_networks_manage_external_users_lex.htm – Itai Shmida Sep 10 '17 at 14:07

This feature is now available after the Winter '18 release. Go Lightning!

| improve this answer | |
  • Please add a link to the relevant release notes to back up this claim. – Adrian Larson Oct 13 '17 at 13:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.