function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
FilikinFilikin 

Configurable Self-Reg Handler visualforce page

Hi, digial experience sites have a configurable self-reg handler which seems to generate a page on the fly for new users to register.
Is there any way to add text to that page?
I tried modifying the experience builder self registration page, but it appears to be a different page.
thanks
Best Answer chosen by Filikin
SwethaSwetha (Salesforce Developers) 
You can find this generated Configurable Self-Reg handler from the Setup Apex Classes page. Its name begins with AutoCreatedConfigSelfReg, followed by a series of digits to ensure that the name is unique

Ref: https://developer.salesforce.com/docs/atlas.en-us.240.0.apexref.meta/apexref/apex_interface_Auth_ConfigurableSelfRegHandler.htm

I tried to replicate this and checked the Visualforce pages in my org but none of them were pointing to AutoCreatedConfigSelfReg listed as controller.

I don't think it is possible to add more custom fields but you can customize the apex code to apply any restrictions to the field which the user inputs.

Article:
https://releasenotes.docs.salesforce.com/en-us/winter19/release-notes/rn_identity_configurable_self_reg.htm

"You can edit the generated Configurable Self-Reg handler in Apex to further customize self-registration. For example, you can add custom logic to ensure that the email or phone number are unique to the external user. You can modify user creation to eliminate the need for associating contacts with accounts. The handler is located in Setup under Apex Classes. Its name begins with AutocreatedConfigSelf-Reg, such as AutocreatedConfigSelf-Reg1532705701849."

Posts with code related to AutocreatedConfigSelfReg  https://salesforce.stackexchange.com/questions/286206/non-static-method-cannot-be-referenced-from-a-static-context-id-autocreatedconf
https://salesforce.stackexchange.com/questions/286669/need-test-classes-for-autocreatedconfigselfreg-and-autocreateddiscloginhandler

Related: https://help.salesforce.com/s/articleView?id=sf.external_identity_login_discovery_review_config_code.htm&type=5

If this information helps, please mark the answer as best. Thank you

All Answers

SwethaSwetha (Salesforce Developers) 
HI Filikin,
Can you include the clickpath of the  self-reg handler you are referring to?Thanks
FilikinFilikin
Hi Swetha, Is this what you need: https://gaisce.force.com/portal/secur/CommunitiesSelfRegUi?locale=us This is what I have selected in the Experience builder: [cid:image001.png@01D8D1B7.A9B6CEE0] Regards, Eamon
SwethaSwetha (Salesforce Developers) 
Could you repost the image, please? It's not loading. Thanks
FilikinFilikin
Self Reg Handler
SwethaSwetha (Salesforce Developers) 
You can find this generated Configurable Self-Reg handler from the Setup Apex Classes page. Its name begins with AutoCreatedConfigSelfReg, followed by a series of digits to ensure that the name is unique

Ref: https://developer.salesforce.com/docs/atlas.en-us.240.0.apexref.meta/apexref/apex_interface_Auth_ConfigurableSelfRegHandler.htm

I tried to replicate this and checked the Visualforce pages in my org but none of them were pointing to AutoCreatedConfigSelfReg listed as controller.

I don't think it is possible to add more custom fields but you can customize the apex code to apply any restrictions to the field which the user inputs.

Article:
https://releasenotes.docs.salesforce.com/en-us/winter19/release-notes/rn_identity_configurable_self_reg.htm

"You can edit the generated Configurable Self-Reg handler in Apex to further customize self-registration. For example, you can add custom logic to ensure that the email or phone number are unique to the external user. You can modify user creation to eliminate the need for associating contacts with accounts. The handler is located in Setup under Apex Classes. Its name begins with AutocreatedConfigSelf-Reg, such as AutocreatedConfigSelf-Reg1532705701849."

Posts with code related to AutocreatedConfigSelfReg  https://salesforce.stackexchange.com/questions/286206/non-static-method-cannot-be-referenced-from-a-static-context-id-autocreatedconf
https://salesforce.stackexchange.com/questions/286669/need-test-classes-for-autocreatedconfigselfreg-and-autocreateddiscloginhandler

Related: https://help.salesforce.com/s/articleView?id=sf.external_identity_login_discovery_review_config_code.htm&type=5

If this information helps, please mark the answer as best. Thank you
This was selected as the best answer
FilikinFilikin
thanks Swetha, that's what I was afraid of.