12 votes
Accepted

Customer Community login using REST API

Since community usernames are not globally unique, you need to use SOAP login with LoginScopeHeader to identify the org: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-...
metadaddy's user avatar
  • 16.4k
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,481
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
  • 16.7k
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
  • 832
7 votes
Accepted

Portal for users with no authentication

This is possible with force.com sites . With force.com sites you can build visualforce pages that can be accessed by an anonymous user . The other option is to configure a simple web to Lead form ...
Mohith Shrivastava's user avatar
7 votes
Accepted

URL Masking our site.force.com URL with our Corporate Branded URL?

Alright, so based off the comment exchange we had, I'm going to recommend a little guide to the SSL Chains as they work when trying to import them on a custom domain. So when you look at the cert ...
cricketlang's user avatar
  • 2,103
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

Customer Community Plus User Cannot Add Other User

Explanation Take a look at sObjects That Cannot Be Used Together in DML Operations. It is not your call to UserInfo.getUserRoleId() that is causing the error. You get the error because you are setting ...
Adrian Larson's user avatar
  • 150k
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

Site.changePassword returns null when called using javascript remoting

The methods of the Site class are designed to work from Visualforce and within a Site so it is possible that the call can't be made to work in your situation. If the context was Visualforce, errors ...
Keith C's user avatar
  • 136k
5 votes
Accepted

Update Contact record with changes to Customer Community User record

It should work but u need to remove test method and put it in separate class. Class global class UpdateContactFromCommunityUser { @future public static void updateContacts(String userId) {...
sfdc's user avatar
  • 13.7k
5 votes
Accepted

Error #16 loading Highcharts with Lightning Components

I uploaded a simple example of the correct way to use Highstock with LC - their instructions about how to load both Highcharts and Highmaps seems to be confusing (the section about loading both ...
Doug Chasman's user avatar
  • 10.1k
5 votes
Accepted

Customer Community Using Apex Sharing

Customer Communities users do not have access to the full sharing model and therefore can't be added on a __Share record. The only way to share a record with a Customer Communities user is through ...
Ratan Paul's user avatar
  • 22.7k
5 votes

Can anything be done to improve the speed of a Salesforce Communities site?

The performance issues can be mitigated via below: Raise a case with support and push hard to put your community on a cache. Caching will improve speed. Have you moved to new templates? Moving to a ...
Mohith Shrivastava's user avatar
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,521
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

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
  • 490k
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

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
Accepted

Napili template standard search event

I had to get on a call with Salesforce Engineer to really understand this .This is what we concluded We can create a design file for the lightning components and use the same merge values as other ...
Mohith Shrivastava's user avatar
4 votes
Accepted

Articles not visible to Salesforce Community members

Check the data categories visibility. Also, check to see if the articles are published to the Customer channel.
Rob Alexander'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

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

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,076
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

"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

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