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

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
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
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
Can you include the clickpath of the self-reg handler you are referring to?Thanks
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