0

I am using a customer community self register builder for a Napili Template page and I'm wondering where the controller is for custom login. I am the administrator and have access to the community builder. I've modified the CommunitiesSelfRegController but it's only impacting the visualforce page and not the community builder Register page.

Here's a link to "custom code for lightning login pages"

Self Register Screenshot

Here's the trailhead for that unit

0

1 Answer 1

1

After you install Napili template, these are the custom Lightning component that are added to your org. enter image description hereenter image description here

If you open any of these components on Developer console, you should see a commented tag:

 Line 1: <!-- add implements="forceCommunity:availableForAllPageTypes" to surface the component in community builder -->
 For SelfRegister form component:
 Line 2: <aura:component controller="LightningSelfRegisterController"> 
 For Login form component:
 Line 2: <aura:component controller="LightningLoginFormController">

May be one of your team members already added the implements attribute to the components, therefore they are available for using on the Community pages.

So you should be editing: LightningLoginFormController or LightningSelfRegisterController to make changes that to reflect on the components of the community pages.

  1. Salesforce Reference

  2. Salesforce documentation (page 117)

2
  • actually the issue was that the components didn't install on my original Napili build (perhaps it predated these components). I installed a dummy Napili community and it installed these components!
    – tjcinnamon
    Mar 11, 2018 at 20:40
  • I didn't get these components installed with the Health Cloud Template I am supposed to be using but I still need these. Any idea how to enable their creation? Sep 15, 2020 at 15:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .