You need to sign in to do that
Don't have an account?

Several Questions about Customized Self-Register
Hi all,
I have several questions during my dev of customize self-registeration:
1) I've created a Community called "https://dev-conagradev.cs65.force.com/readyseteat", but to my surprise is that there's a suffix "/s"……Why? I cannot remove that at all. How can I remove that?

2) I entered the "builder" of that to select a self-registeration page (My selection is "SelRegister"——A lightning page with some components):

But to my surprise——When I run the page I always receive an error (See the red below), why? I do nothing to do codes at all.
Even if I tried to do some alerts, I didn't see anything popped up to me?No alert dialog pops out?

In my Server-side code, where to see "System.Debug"? I see nothing outputted in the Developer Console……

Is there any full example of using SelfRegister page to implement your own registeration step by step? Thanks!
I have several questions during my dev of customize self-registeration:
1) I've created a Community called "https://dev-conagradev.cs65.force.com/readyseteat", but to my surprise is that there's a suffix "/s"……Why? I cannot remove that at all. How can I remove that?
2) I entered the "builder" of that to select a self-registeration page (My selection is "SelRegister"——A lightning page with some components):
But to my surprise——When I run the page I always receive an error (See the red below), why? I do nothing to do codes at all.
Even if I tried to do some alerts, I didn't see anything popped up to me?No alert dialog pops out?
In my Server-side code, where to see "System.Debug"? I see nothing outputted in the Developer Console……
Is there any full example of using SelfRegister page to implement your own registeration step by step? Thanks!
First issue:
This is product behavior, there is an idea submitted for the same. Upvote and comment it https://success.salesforce.com/ideaView?id=08730000000cKd5AAE
Second issue:
You are reporting that the 'init' method is not executed in the component load. can you post component code so that we can take a look on that?
While working on the lightning components always start debugging from the component side.
Naveen
Team Codengine.in
Thanks for your quick reply:
I did nothing to the codes (I mean the codes are auto generated):
【SelfRegisterController.js】 【SelfRegisterHelper.js】
PS:You can find the component inside a dev or sandbox's "c:selfRegister" control in the Developer Console and run directly to see the final result (I suspect whether I've missed something……)?
so it should hit controller js file. Check in browser console whether you are seeing comments like ''initialize entered''
Naveen
My another question is: Why "Your Request cannot be processed"……Is there anythign wrong when calling "Site.createPortalUser"? Anything should be noticed?
Setup --> All Communties --> open the Builder of your communty --> Settings --> General --> Guset User Profile --> Add the Apex Class (LightningSelfRegisterController) related to the Self Registration.
Hope this helps.