I have created a Vf page now i need to add the Vf page to the community user home page when I log into as community user i am getting a message that : https://partner360-developer-edition.na15.force.com/Customer/ is under construction. how can i change the url to my VF page. Please guide me how to get it solved.
2 Answers
There's a special one-to-one relationship between a Community and a Force.com Site. It's actually the associated Site entry that holds the Home Page and enabled Visualforce Pages.
The public home page needs to be accessible by "[Your Community Name] Guest":
go to Setup > Develop > Sites
click "[Your Community Name] Guest"
hit the Edit button,
in 'Active Site Home Page' choose your Visualforce home page,
The logged in home page needs to be accessible by "[Your Community Name] Partner User":
create a Visualforce Page,
go to Setup > Develop > Pages and click Security next to your page
move the relevant Login User profile into the Enabled Profiles
Then when you direct visitors to your login page, you must include the ?startURL=/apex/PageName
URL parameter.
-
1i am not able to understand why we need to create a new Vf page as we are selecting "the Active Site Home Page' choose your Visualforce home page." how the new VF page and the Active Site Home Page are connected to each other.– AnuRajCommented Jan 7, 2014 at 5:42
Go to community edit and click on login pages there you have an option to add site.com or vf pages.
Hope this helps
-
1Could you possibly expand upon this answer to make it clearer to future readers what the solution entails? Commented Mar 28, 2014 at 15:57
-
/communityName/PageName
instead of/apex/pageName