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
mamta1mamta1 

Lookup field on Site public page

I want to allow users to create records of a custom object from Site's public home page. I have created the page and can view the form correctly. I have used the standard controller for MyObject on the page. The form has two lookup fields which are two other custom objects (MyLookup1 and MyLookup2). When I click on the lookup icon, the authentication required page shows up instead of showing list of looked up object.

 

On site public access settings, I have given Read/Create access for MyObject and Read/View All permission for the objects MyLookup1and MyLookup2. All of these are custom objects created by me. How can I make sure that lookup popup will not ask for authentication?

Best Answer chosen by Admin (Salesforce Developers) 
BulentBulent

Not possible.

All Answers

mamta1mamta1

I was able to get this working by adding Lookup Page to the 'Site Standard Pages' list.

 

However, one problem is that it does not display all matching lookup records, I have to do a search in order to view any records. Is there a way we can make it all lookup records by default ? (like it does in standard UI)

BulentBulent

Not possible.

This was selected as the best answer
Sandeep001Sandeep001

I think there is a MRU (Most recently used) algorithm applied on the number of records to be displayed in the look up page. But the algorithm seems to be different from the one applied to salseforce sidebar.

 

What say Bulent?

irwanrjirwanrj

hello,

I have a SFDC and i want to use Force.com free edotion in our SFDC. can i integrated our SFDC database to Force.com free edition?
or they have a different database with SFDC?
can anybody help me to answer this one.

thak you.

dshardshar

This is possible and very easy to implement, here are the steps:

1. Go To Develop > Sites
2. Click on Site Label
3. On the Site Details Screen scroll below to "Site Standard Pages" section.
4. Click Edit button and add "Lookup Page" to Selected Pages
5. Click Save

Kate SpeedKate Speed
Hi dshar,


I have followed these below steps.... still it's not working any other suggestions...

1. Go To Develop > Sites
2. Click on Site Label
3. On the Site Details Screen scroll below to "Site Standard Pages" section.
4. Click Edit button and add "Lookup Page" to Selected Pages
5. Click Save


Thanks 
Renuka Molleti


 
Shubham Tiwari 11Shubham Tiwari 11
Hi Renuka,
All you have to do is to add Search Pages and Lookup page to the site standard pages and it will show the lookup page on your site.
But lookup records will not be visible to the portal or guest user. For that you have to create custom lookup page.

Thanks,
Shubham