(WIP) "All"
Last updated
Last updated
This guide assumes you have successfully completed the guide.
Generate a new Reactforce app using the template for visualforce communities
(See if this can be automated somehow)
Add a role to your user.
Add an account for the community registrations.
Salesforce Tabs + Visualforce Template (frontendall)
Administration --> Settings --> Activate --> OK
Administration --> Settings --> Copy the url for later use
Administration --> Login & Registration --> Allow employees to log in directly to an Experience Cloud site = TRUE
Administraion --> Login & Registration --> (Leave this set to Default even though this is a react login solution)
Administration --> Login & Registration --> Logout Page Url --> Full URL = paste value copied from above
Administration --> Login & Registration --> Registration Page Configuration --> (Leave this set to Default even though this is a react login solution)
Administration --> Pages --> Home Page = Visualforce Page --> frontendall
Administration --> Pages --> Go to Force.com --> Edit --> Url Rewriter Class = frontendcommUrlRewriter
Administration --> Pages --> Go to Force.com --> Url Redirects --> Source URL = /frontendall/apex/frontendallVf and Target URL = /frontendall
Open the site incognito or from a different browser
Obtain your system adminstrator username and password for the scratch org
Navigate to the login link
Notice the message "Learn about Reactforce here." comes from the Visualforce controller (e.g. frontendcommCtrl)
Click the avatar in the top right and logout.
Notice you are returned to your original landing page
Now that you can build and deploy a fully functional single page application written in React and running on Salesforce you can accomplish anything... INCLUDING saving tons of money for your company. Make sure you do something good for others with all of those savings!!