You need to sign in to do that
Don't have an account?
Issue with Custom Login Page Creation
Hello. I am trying to develop a custom login page - right now for just my sandbox environment. The goal of this would be that I would see my corporate logo during signon instead of the standard salesforce.com login page.
I have developed the page - all looks fine. Unfortunately, after typing the address, I am still being prompted with the standard Salesforce.com login page - only after logging in does it take me to my custom login page.
I know I am likely missing a pretty fundamental step - but I am confused as to the next best way to get this working.
Thanks in advance.
Hi,
Can you post your page?
Thanks.
Sure.
Since I am just getting started with creating the page, I initially tried the sample code that was included upon creating my force.com account (in other words, the VF and controller code that was provided by salesforce.com).
I simply copied the VF code into a different page...and added the reference to the "SiteLoginController". That is all I did.
I question whether the problem is the code itself. I did not know if the sandbox is triggering the standard force.com login page to initially appear...or if there was some other command I should use to let the system know that this was an authentic login page.
I appreciate the help.
Hi,
Is this page for your force.com site or for your developer sandbox login? The controller and Vf page that you are using is to log you in to the force.com site, right?
Thanks.
Actually, this is intended to login to the sandbox environment. The sample code was provided in the sandbox environment.
I appreciate the help with this...trying to get my arms around everything.
Hi,
I dont think there is a straight forward way to do this, also i am not sure whether this route would work or not. Give it a try though.
1) First setup a force.com site with an visualforce page as your active home page. Do not use any controller in this page.
2) Go to https://test.salesforce.com/ and right click your mouse and view page source. Copy paste the required java script and html code in to your VF page created in step 1.
3) edit the html code as per your requirement and give your own stylings.
If this works, then in futre all your users would not use test.salesforce.com to login to the sandbox, instead they would use the site url that you created in step 1 in order to login to sandbox.
Give this a try and let me know.
Thanks.
I appreciate the help. I will definitely give this a try. I am getting pulled into another project today...but will get on this next week and let you know.
Thanks again.
Hi,
I need to develop a custom login page, I tried to copy,paste the script on VF page and didn't work.
I am new to Salesforce, any sample page is really appreciated.
Thank You.
Hello EIE50,
Firstly, thank you for making this easy to understand for non-programmers.
Really appreciate if you could provide a sample code for the login page.
Thanks,
VK
I have the same issue.
I did find that you can customize a little bit on the SiteLogin page by changing the login related components: SiteHeader, SiteFooter and SiteLogin ( see http://wiki.developerforce.com/index.php/Authenticating_Users_on_Force.com_Sites). But, any direct changes to the default SiteLogin Page, would not show up; when you configure the site, there is no way to allow you to specify a new custom login page.
Can Any salesforce.com guy point out a solution on this?
Thank you.