function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

embedded visualforce page in customer portal shows login screen

I have login/authentication to Customer Portal setup through Sites. When I login through Sites, one of my customer portal pages which has an embedded visualforce page does not render the visualforce page, and instead shows the salesforce login screen in its place. The rest (non-Visualforce) part of the page shows up a-okay.


I have checked and rechecked all access and CRUD permissions for the visualforce page, the apex classes, the custom objects etc. I.e. everything is on the layout, it's accessible by the profile etc.


If I type in the URL of the visualforce page manually, it actually renders properly (even in the context of the login through Sites). It's only when it's embedded, that it doesn't show up.


Also, if I login directly to the customer protal (i.e. not through Sites) then the problem goes away - i.e. the embedded visualforce page dispalys correctly.

Best Answer chosen by Admin (Salesforce Developers) 

The fix is deployed to production.


Message Edited by Bulent on 08-18-2009 09:35 AM