+ Start a Discussion
Ram@sfdcRam@sfdc 

Visual Force Lookup Field with records in Force.com site

Hi,

 

I have created a public force.com site, In the page I have taken Lookup field. When I click on Lookup, it is showing any records..

 

How to make to display Records in Looup window.

Best Answer chosen by Admin (Salesforce Developers) 
nathaForcenathaForce

Hello,

 

I believe that your issue is not code related. Lookup windows will display the most recently accessed records. So, if you have not visited any records for the object you have a lookup on, they will not display in the list of items to select.

 

Example: if your lookup is on the Opportunity object, but you have not viewed any Opportunity record with the current user, then no item will display in the lookup window.

 

Nathalie

All Answers

gbu.varungbu.varun

Your question is not clear.

nathaForcenathaForce

Hello,

 

I believe that your issue is not code related. Lookup windows will display the most recently accessed records. So, if you have not visited any records for the object you have a lookup on, they will not display in the list of items to select.

 

Example: if your lookup is on the Opportunity object, but you have not viewed any Opportunity record with the current user, then no item will display in the lookup window.

 

Nathalie

This was selected as the best answer