Search code examples
salesforceadministrationsalesforce-communities

adding user to community


I'm doing a tutorial on communities, and after setting pages and themes, i wanted to add users. The access is made from the contact object. I setup the community, but think i should have a link here

enter image description here

i setup the user of a contact like this:

User License = Customer Community 
Profile = Customer Community User
Active = true

but when i try to log him in, i get: "Looks like this portal user is not a member"

I tried the same with another profile, a clone of the native Administrator profile, to which i added, in Profile Overview > App Permissions

Manage External Users = true

then, one by one, i activated all permissions, and still had that warning.

edit:

  • i'm using Classic
  • This is a developer licence

What am i missing?


Solution

  • The links disappeared because you killed off your own access to community (on Sysadmin, cloned profile etc). Do you remember editing this page? (sorry I had to censor some bits). If you removed System Administrator from the list of profiles - #fail.

    Community -> Administration-> Members page with access based on Profiles & Permission Sets

    If you can work with the new community and it's OK to have old one lying around - cool. If not - You might be able to resurrect it by exporting the community definition file, tweaking it and deploying back. I'm assuming you have some dev experience.

    Prepare package.xml that contains

    <types>
        <members>*</members>
        <name>Network</name>
    </types>
    

    Export the zip file (you don't neccessarily need developer tools, http://workbench.developerforce.com/ might be enough). Inspect the networks/YourCommunityName.network file. There should be a section similar to this

    <networkMemberGroups>
        <permissionSet>Censored1Access</permissionSet>
        <permissionSet>Censored2Access</permissionSet>
        <profile>Censored User</profile>
        <profile>Admin</profile>
    </networkMemberGroups>
    

    Make sure "Admin" is on the list and deploy it back to org. It should give you access back and then you can add your customer community user's profile, permission set or whatever you plan to give them.