Skip to main content

#Community Licenses2 debatiendo

Current Scenario

  • The logged-in user is an Experience Cloud Customer Community Plus Login user.
  • The Contact is created through an LWC that calls an Apex method 
  • The Apex controller is declared as public 
  • The Contact is populated with all the required fields, including the AccountId of the logged-in user's Account.

Behavior Observed

1. If OwnerId is not assigned

  • Salesforce automatically assigns the logged-in Experience Cloud user as the owner during the insert.
  • Since the logged-in user is an external user, the insert fails because saying "portal users cannot own Contact records."

2. If OwnerId = UserInfo.getUserId()

  • The same error occurs because the logged-in Experience Cloud user becomes the owner, which is not allowed.

3. If OwnerId is explicitly assigned to an internal Salesforce user

  • The insert fails with: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY
  • This appears to indicate that the external Experience Cloud user is not permitted to assign ownership to another user.

#Experience Site  #Apex

 

 

#Community Licenses

2 respuestas
  1. 31 jul, 3:50

    Hello @Tushar Jadav

     

     

    Thanks for your suggestion. 

     

    The user's license is

    Customer Community Plus Login

     

    I tried your solution, but it doesn't work for my issue, I still get the same error. 

    What could be the issue?

0/9000

Hello!

 

Does anyone out there use login based community licenses for their community?  I want to make sure I understand correctly before I recommend them.  If 100 licenses are purchased, you would get that many logins per month but be about to set up 20X the number of users (2000) users?

https://help.salesforce.com/articleView?id=users_license_types_communities.htm&type=5

0/9000

Hi,

can I set up SSO for the guest user community (Help Center template)?

 

The request is: the user can access the Help center community only through the company intranet. If a user tries to access the community without access to the intranet, he cannot reach the home page.

 

The customer does not have community licenses but only Service licenses, therefore, community login users cannot be used.

 

Thanks

2 comentarios
0/9000

Hi fellow architects,

looking for a definite answer on the max number of high volume community users.

 

Thanks

7 comentarios
  1. 22 ene 2020, 16:58
    @Gunish Chawla

    The 10 million user limit is a limit on the number of user records, not the number of logins per month. That ratio is a guideline that applies up until you reach 500,000 logins per month (10 mill users), thereafter being pulled down as your logins per month increase.

    You are absolutely correct. Well before we hit a 10M user org, a multi-org scenario would become applicable.

0/9000

I have a licensing question around FSL. My service resources aren't employees but instead can be considered contracted resources. Can I use community licenses and assign the community users to the resource record?  I know technically I can but would this be the best way for non-employees?  Are there any features they wouldn't have access to?

1 comentario
  1. 18 ago 2019, 16:04
    @Luke Higgins we have been assigning our contractors to Partner Licenses/partner community for FSL. I'm not sure what features the contractors are required to use for your organization to say whether or not they would have missing access to anything. We control on our end via profiles the functionality we want them to utilize. If you want to add some more features they would require, hopefully we could help answer some of your questions. To date, we haven't come across much that isn't available for our partner users.
0/9000

Trying to grant community members access to a "Wave" dashboard in our Napili self-service community, but can't seem to find the "Analytics for Communities permission set license" in the user config that is mentioned in this help article.

 

https://help.salesforce.com/articleView?id=bi_setup_communities_enable.htm&type=5

 

Does anyone know if this has been renamed or am I looking in the wrong place?

3 comentarios
  1. 23 may 2019, 16:36
    It does. It's sold as an add-on to community cloud licenses. It requires one of the role-based community licenses like Customer Community Plus or Partner Community.
0/9000

My company is looking into using Salesforce Surveys.

Does anyone happen to know if there are any limitations we should be aware of? For instance, is there a limit to how many customers we can send surveys to? I did find out that there is NOT a limit to how many responses we receive.

 

We would be sending to external customers, so would we need community licenses? I am thinking we would not, as we would make this a public community. Would we need to be worried about mass email sends for when we send out the surveys, since they would not have a community license? 

 

Any insight would be much appreciated. Thank you! 

2 comentarios
  1. 14 ene 2019, 10:59
    Hi @David Claiborne - the limit of 5000 emails a day is only if you use the 'send list email' functionality however you can still either build logic to leverage email alerts (1000 per license) or upload survey invitations & contacts into a marketing provider such as marketing cloud to send emails (unlimited/ based on cost) that way.
0/9000

When defining the "Communities" as an org feature in a scratch definition file:

{

    "orgName": "my Project",

    "language" : "EN",    

    "features" : ["ExternalSharing", "AuthorApex", "Communities"],

    "edition": "Developer",

    "orgPreferences" : {

        "enabled": ["S1DesktopEnabled", "ChatterEnabled", "IsChatterProfileEnabled", "IsQuoteEnabled", "Translation"]

    }

}

I do get users with community licenses in a newly created scratch org, but the Communities feature is not enabled in it.

We do need it as we run a bunch of unit tests with Portal Users logic which fails on CI build due to Communities not being active.

Is there a way to solve it?    

2 comentarios
0/9000

Hi all.

 

I want to know what are the options in terms of licenses for the organisation which considering using community cloud but not so much interested in CRM functionality. 

In the past I think the org would have to have at least 1 enterprise license. 

I've seen somewhere that enterprise license requirement had been dropped. Can the organisation just buy Community licenses? What is the minimum license requirements to get the community functionality? 

4 comentarios
0/9000

Here's a fantastic video on security/sharing setup in Communities - very helpful if you're preparing for the Sharing & Visibility Designer exam (note:  it's video #5 in the playlist).  Before I found this video, I spent 2 hours stumbling around the web trying to figure out the different types of community licenses and what each one does.  This morning, I started watching this video and learned just as much in the first 15 minutes as I did during the previous 2 hours yesterday.   Great explanations, summary charts and use case walkthroughs.  @Ladies Be Architects

#5 in Playlist - Strategies for Data Security in Communities

6 comentarios
  1. 15 jul 2018, 22:00
    In complete agreement with previous comments. This is so very helpful. I especially loved seeing the demo scenarios and walking through the configuration for each use case.
0/9000