+ Start a Discussion
Code DevelopmentCode Development 

Adding VF Page to Customer portal

Hi

   after login in customer portal i need to my vf page instead of home tab.

  can anyone help me

Sridhar VenkateswaraluSridhar Venkateswaralu

Hi,

 

I think you should try adding the startURL to the Login Link you have provided to login into the Customer Portal.

 

if your Portal Login Url is :

 

https://ap1.salesforce.com/secur/login_portal.jsp?orgId=00D90000000JPTY&portalId=06090000000U6A7

 

Change it to Something Like by adding the StartURL as another parameter.

 

https://ap1.salesforce.com/secur/login_portal.jsp?orgId=00D90000000JPTY&portalId=06090000000U6A7&startURL=/apex/testparameters.

 

Make Sure that the Customer Portal user Logging in has access to the page mentioned for redirection.

 

 

 

 

 

vishal@forcevishal@force

We had a similar scenario and what we did is we used a Portal footer (html & javascript), and javascript is disabled by default on login page. So once user has logged in, the portal footer had script that redirects him to the desired visualforce page.