• Athar
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

I have written a controller. It's main task is to fetch current user's email info, then query using that email to extract some data from a custom object. 

 

for example : 

 

if current user's email is abc@xyz.com. it will extract some info from custom object A  where some field = "abc@xyz.com"

 

then it returns the value to VF page . Thats what i am trying to show when a User is logging in(from SiteLogin page).

 

The visualforce page is working fine and showing exact Current user related values when i am viewing it on developer mode[........./apex / myVFpage ]. But when i am trying to access the page by logging in from siteLogin page some how its not showing the values. Though its showing all other fields which i am directly accessing from the VF page. But its not showing the values that i am returning from controller. I tried debug log, but somehow its not executing the controller code when i am accessing it as portalUser logging in from SiteLogin Page.

 

Thanx in advance