4

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.

  • I think you might have added the VF as a iframe component in the home page layout. The URL (src attribute of the iframe) of the VF should be something like this /communityName/PageName instead of /apex/pageName – Sam Jan 6 '14 at 6:30
  • i have done it but it is not working. – AnuRaj Jan 6 '14 at 8:38
  • @AnuRaj whats your page name and also your community name? – Mohith Shrivastava Jan 6 '14 at 8:40
  • page name is dashboard and the community name is Partner Community. – AnuRaj Jan 6 '14 at 8:45
5

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":

  1. go to Setup > Develop > Sites

  2. click "[Your Community Name] Guest"

  3. hit the Edit button,

  4. 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":

  1. create a Visualforce Page,

  2. go to Setup > Develop > Pages and click Security next to your page

  3. 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.

|improve this answer|||||
  • 1
    i 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. – AnuRaj Jan 7 '14 at 5:42
0

Go to community edit and click on login pages there you have an option to add site.com or vf pages.

Hope this helps

|improve this answer|||||
  • 1
    Could you possibly expand upon this answer to make it clearer to future readers what the solution entails? – Simon Lawrence Mar 28 '14 at 15:57
  • Please be more specific as your answer is very generic – manza Jan 21 '15 at 2:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.