Administrator user not able to login to community

I have setup a Salesforce community and selected System Administrator to login to a community.

enter image description here

I am not able to login with any Admin user but all my community users work. When I look at the login history I see I see:

No community access

What do I need to do to enable Admin users to get community access?

Answer

You will need to drop a link on your Site Page which will have a label to help employees Log in via that .SFDC labels as “If you are Employee Log in here” .

The URL for this login will look like below

https://login.salesforce.com/?ec=302&startURL=/servlet/networks/session/create?site=0DME0000000fxWx&inst=E

Now if you notice the site param has an Id there attached .You will need to get your site Id from going to Sites in Set up menu and inspect element on chrome browser or other browser to get the Site Id .

You can also query for this Id .I will recommend to use labels so you can configure each time .

Also you will need to encode the StartURL parameter (URLENCODE).

Attribution
Source : Link , Question Author : Thys Michels , Answer Author : Mohith Shrivastava

Leave a Comment