How To Create a Custom Salesforce Communities Login and Landing Page (Spring 2017)

spring17logo

1.) First go to Customize -> Communities -> Settings and create a domain for your community. I am using ‘SINGH2050’.

enable

2.) Once the Domain Name is Set.Now Create a Community by clicking on New Community. It will look something like this -

1

3.) Once your community is created.It'll create

CommunitiesLogin(Visualforce Page)

3

CommunitiesLoginController(Apex Class)

4

4.) Add a method in above controller forwardToCustomAuthPage()

5

5.) Modify the Visualforce something like this -

6

6.) Now create your custom Login Page "CustomLoginPage(Visualforce Page)"

7.) Now Create its Controller "CustomLoginController(Apex Class)".

7

____________________________________________________________________________________

8.) This Page will Land to "CommunityWelcomePage(Visualforce Page)".

8

____________________________________________________________________________________

9.) Once you're done with all this. Click on Community Workspaces. It will open your Workspace in new tab and will look something like this -

2

10.) Now Click on Administration. It will open the following Page -

9

11.) Now Go to Pages Tab and click on Go To Force.com

13

12.) Then add you CustomLoginPage to it by clicking on Site Visualforce Pages.

14

13.) After that click on Login & Registration Tab. Then set the CustomLoginPage in Login Section.

15

14.) Then Go To Tabs & add All those Objects that you want to be displayed in your Community.

19

15.) After that Go to Settings Tab  , SEt whatever the Template you want and click on Activate Community.

16

16.) There you Go. Now Copy the Community URL

1

17.) And Login in any Browser. I am Logging in as System Administrator.

17

18.) And you Landing Page will look something Like that -

18

Congrats you Custom Community has been created.31163A0400000578-3442108-image-a-27_1455189872679

Related Post: Salesforce Communities and Licenses

Responses

Comments are closed.

Popular Salesforce Blogs