Skip to main content
9 votes
Accepted

Creating a Community User via Apex from a Contact

I think you're looking in the wrong spot. The role that needs to exist is on the owner of the account record, not directly on the community user. We have a workflow that forces all of our contacts/...
gNerb's user avatar
  • 9,568
9 votes
Accepted

Lightning Community, can i make change password Lightning Page, not VF?

Lightning framework is evolving and Salesforce adds new features in each release. I see that documentation suggest that you might use Lightning Community Builder to use Lightning Components to modify ...
Patlatus's user avatar
  • 17.5k
9 votes

iframe'd vf page fails in Lightning component in Community page

Answering my own question, in case it's useful to someone in the future. It turns out that the iframe issue was a red herring: the key point was the code 302 in the URL, which indicated a redirect ...
M. A. Sridhar's user avatar
8 votes
Accepted

Community Password Reset link expiring when using forgotPassword() method but not if using Reset Password button on the User record

Here is what I have learned from the SFDC Success Community and the product managers there. SFDC has been making changes that are supposed to help with preventing email scanners from following a ...
Jason's user avatar
  • 852
7 votes
Accepted

How to share files uploaded in "Files" related list to Community Users

Files uploaded via this related list will only be visible to internal users, and this field is not editable. One thing you can do is post the file to the record via the Chatter publisher, and ...
citizen conn's user avatar
6 votes
Accepted

Can't retrieve custom labels from community since Winter 17 Release

I've contacted Salesforce support and here is what I got so far : I have investigated and replicated this issue on my Winter'17 Dev Org. I found that the custom label displays properly if the user ...
Lucas Ennouchi's user avatar
6 votes
Accepted

Upload a file using lightning:fileUpload from a `Customer Community` user license

As for your original question: Can I use the lightning:fileUpload component with a Customer Community user? The answer is - Yes, you can use lightning:fileUpload component in Communities. As for ...
Jayant Das's user avatar
  • 30.6k
5 votes
Accepted

Relationship Fields not Accessible on reports for Partner Community User

When the org wide sharing setting for an object is set to Public Read/ Write, it does not allow reports for the object to be viewed via the partner portal for security reasons. The workaround for ...
Gaurav Jain's user avatar
5 votes

Auto-refresh Napili Community's standard page once in every five minutes?

Alright, with the guidance from @Mohith, I was able to find a work around for my issue. Here is what I made changes to his code which reloads the complete page, rather refresh the part of the page(...
SatyaV's user avatar
  • 1,533
5 votes
Accepted

Received no welcome email, no password reset email, and no way to reset password for Community user

Here are few steps which you need to make sure are correct and they will surely solve your problem. Make sure your community is in active state and not in Preview mode. Make sure the community user ...
Tushar Sharma's user avatar
5 votes
Accepted

"Log in to Community as User" Button Missing

With Winter '18, Users can manage Community Users in Lightning Experience. Snippet from the release notes: No more switching between Lightning Experience and Salesforce Classic to manage external ...
Jayant Das's user avatar
  • 30.6k
5 votes
Accepted

Does scrollTo() have a "behavior" attribute like window.scroll()?

scrollTo(target, top, left) isn't a valid set of parameters for scrollTo, so presumably you're using a custom function. The way you'd do this using just standard JavaScript/Lightning would look like ...
sfdcfox's user avatar
  • 500k
5 votes

architectural considerations + public facing sites

You have asked many questions making your question too broad for our forum's typical Q&A style. I would recommend you break these up into separate questions and repost them. With that said, I will ...
crmprogdev's user avatar
4 votes

Translation Workbench doesn't work with Communities

You have to add the languages into the community via the community builder. Once enabled, the translations from the translation workbench will start to come through.
Ian Womack's user avatar
4 votes

Orders not visible to Customer Community users

Private is private. If your internal users can't see Orders with Private Sharing, why would you expect your External users to be able to see them? Obviously you don't want to create a group for each ...
crmprogdev's user avatar
4 votes

Remove Chatter not enabled from Community Template

You can remove that by following these steps: Select "Record Detail page" within Page selection list (within Lightning Community Builder) Select Tabs component Set Tab 3 to "None" (refer screenshot ...
Anshul's user avatar
  • 2,629
4 votes

Why can't I create this AccountShare in a community?

Without seeing your code, it's a bit difficult to fully diagnose your issues. I can share some of my experience with apex managed sharing in community plus orgs and suggestions on architecture that ...
crmprogdev's user avatar
4 votes

Customer Community User cannot create Contact

Yes, the system acts inconsistently. Customer Community users cannot create contacts due to the ownership issue, but Customer Community Plus users can create contacts because the system automatically ...
David Cheng's user avatar
  • 7,390
4 votes
Accepted

Auto-refresh Napili Community's standard page once in every five minutes?

Create a custom lightning component for communities to do this .You will need to ensure this component is part of every Napili lightning page that you want to refresh Here is a version of untested ...
Mohith Shrivastava's user avatar
4 votes
Accepted

Community Self-Registration doesn't appear to be calling LightningSelfRegisterController

The solution that worked for me: Create a copy of selfRegister component Just copy-paste the code It's because selfRegister component appears only in Identity group and I couldn't re-use those ...
Michal Vavra's user avatar
4 votes
Accepted

How I can retrive "Community" metadata in Salesforce

Answers for your questions first. How I can retrieve "Community" metadata in Salesforce and will make to deploy for example to QA org depends on which deployment tool r u using? --if you using ...
sdandamud1's user avatar
  • 2,713
4 votes
Accepted

How to change the Logo of the prebuilt themes chosen in Community Cloud?

You can change your logo in Theme > Images > Company logo in the community builder
AH3's user avatar
  • 556
4 votes
Accepted

Where is a File's "Customer Access" status located?

It's on the ContentDocumentLink under Visibility as shown here Visibility can have the following values. AllUsers—The file is available to all users who have permission to see the file. ...
Kris Goncalves's user avatar
4 votes
Accepted

Displaying image from file on public Community Page with Lightning Web Component

You need to use the DistributionPublicUrl in the ContentDistribution record that corresponds to the file's ContentVersion record. ContentDistribution is created when you create a Public Link from the ...
David Cheng's user avatar
  • 7,390
4 votes
Accepted

How to avoid "insufficient access rights on cross-reference id" error when inserting a master detail child of Contact by a Community User?

Has per @KrisGoncalves's comment, I updated the Sharing Set to allow Read/Write for the selected Account and it started to work. UPDATE: I realized why read/write sharing is required for Account. ...
Phil W's user avatar
  • 37.6k
3 votes
Accepted

Problems creating Comunity page on napili template (Salesforce Customer Community)

You need to replace the ":objectName" and the ":filterId" with the desired parameter values. Your URL should then look like this: /case/Case/[ListviewId] An example: The ListviewId you can find ...
nele's user avatar
  • 46
3 votes

Articles not visible to Salesforce Community members

I am so pleased to have found this post! I had exactly the same problem: could search for and view articles, but none were showing up in in navigational topics. As we have another Experience Cloud ...
commscath's user avatar
3 votes
Accepted

Disable body scroll on modal open in Locker Service friendly way

document.body and document.head are 2 nodes that support "shared" ownership and you should be able to manipulate either directly under Locker. Locker will keep you from accessing, deleting, etc child ...
Doug Chasman's user avatar
  • 10.1k
3 votes

Show download attachment link on lightning component

On your apex server side code you need to select also the attachment object -> all the attachments of the selected objects ids. Create a wrapper apex class that will represent 1 record with a list of ...
Itai Shmida's user avatar
  • 5,065
3 votes
Accepted

Salesforce Communtiy

As name suggests, Community is used to allow external users to collaborate with internal Salesforce users. You can use Customer or Partner Community based on the access. Users have very limited ...
Raul's user avatar
  • 18.9k

Only top scored, non community-wiki answers of a minimum length are eligible