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
sherazsheraz 

how to create look up with multiple object in visualforce page

Hi,

I have requirment that in visualforce page, i have to create lookup feld that reference to 2 object(User, custom object). I am new to saleforce so i dont know how to add this functionalty in visualforce page. 

please help me

thanks

 

 

 

sekharasekhara

Hi,

 

At first you have create look up field in you sObject, after that u can declare in your Visualforce Page.

 

Let me know incase of any issues....... 


sheraz wrote:

Hi,

I have requirment that in visualforce page, i have to create lookup feld that reference to 2 object(User, custom object). I am new to saleforce so i dont know how to add this functionalty in visualforce page. 

please help me

thanks

 

 

 


 

sherazsheraz

Shekara thanks for your reply. I have to create 2 separte lookup field first and then decalre in VF page. can you guide me that how to delacre the 2 different lookup field as one so that user can search at the same time.

please advice

thanks