6

I've done pretty much exactly what you describe before. Rather than using the inactive flag, I used a custom Boolean to represent that the user had not self-validated, and used this to deny access upon login. It seems the right approach to me and isn't much work. AFAIK there is no official support for user email validation for self-registered users but I ...


5

Alright folks, I couldn't get this issue resolved here. So in my research, I found this issue as a Salesforce Known Issue which was opened two weeks prior to my post. As the fix was mentioned: SCHEDULED - SPRING '18, I have reached out to Salesforce to get this solved at least in my Org as this is a Standard functionality. Thanks to Salesforce, they guided ...


3

Go to Build -> Develop -> Sites, click on your Site/Community name and click on Public Access Settings button. It would open up the Profile for guest user. And in this page if you click View users, it shows Guest User. You can configure your custom self register page in Guest user profile, by adding it to Enabled Visualforce Page Access related list. ...


3

Its not in the controller. Since you have a Lightning Community, the error messages are controlled by Lightning Components. See this help page and the image below for more.


2

I eventually was able to determine the correct solution, though I didn't end up actually implementing it. The steps that needed to be taken were: Duplicate the existing standard lightning self registration component (this was important -- I thought I could just edit the standard component, but apparently that's not feasible). In the controller, find the ...


2

Unfortunately you'll need to purchase an add-on item called Identity Verification Credits in order to use SMS verification. See the Winter '19 release notes: To verify identities via text message, you purchase a license for Identity Verification Credits, which allows your org a predetermined number of SMS messages for identity verification. For exact ...


2

Is there a way they can toggle between those two communities? Yes. For Lightning Communities, you can use App Launcher to let users toggle between Communities they are member of. Display the App Launcher in Lightning communities to make it easy for members to move between their communities and their Salesforce org. For Salesforce Tabs + VF page ...


1

For self registration without SSO Try ConfigurableSelfRegHandler Interface After the visitor fills out the sign-up page and submits it, the handler is invoked to create a community member with the information that the visitor supplies. If the registration process requires email or phone verification, the verification process finishes before the Auth....


1

Community Self registration is meant for external users as indicated by the option "Allow external users to self-register" Also as per documentation: You can only select profiles that are associated with the community. If the selected profile is removed from the community, the Profile resets to None. Now, even if you have Salesform Platform user as ...


1

There are a couple of things in your question that need answers: The has always sent all device registration data. There has never been a way to send 1 thing and not another. So, setting Contact Key will result in the entire device registration being sent, to include because you called them out, Attributes. This behavior has not changed. Ever (as of ...


1

I used a try and catch method and then if statements matching the exact error code to replace with more helpful errors. Edited to contain code: global Id createUser(Id accountId, Id profileId, Map<SObjectField, String> registrationAttributes, String password) { // Show all errors This is where custom code starts as a try (but it's trying all ...


1

Yes it is Possible, you have to define 2 attributes in the lightning component, a Boolean and a String. <aura:attribute name="showError" type="Boolean" default="false" access="private"/> <aura:attribute name="errorMessage" type="String" access="private"/> then, all what you have to do, is to check the value of the wanted fields when registering....


1

I just found the solution.I have Prepared the User record data using the Contact details.Then call theSite.createPortalUser(user, accountId, password, sendEmailConfirmation) method to create the user.It is working fine.


1

The sample SiteRegisterController includes a hard coded Account ID which is the simplest approach: people are self registering so you don't know anything about them and putting them all under one Account is the best you can do. (Using a custom setting for the ID would be a basic improvement.) But if you do know something about the people registering: ...


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