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
Dipak NikamDipak Nikam 

Look Up filter not working on Visualforce Page


I have created a visualforce page where i've used standard controller as one of the custom object from my organisation.

On custom object , I've look up which has certain criteria defined. But when i use this Lookup as inputfield on Visualforce page, the look up window doesnt showing any records on it. The same look up filter works in Salesforce Native UI.

Can any one let me know why this is happening. Appreciatethe help.

Thanks in advance.


Hello Dipak,

I made an example for the same nd i got the perfect output.
Please check with your code or check that do you have any records on the object of whick you create a lookUp.


If your problem still not solved then please paste your code here.

Thanks & Regards

Mohammad Naved


Hi Dipak,


Can you please paste your vf code here. Also please notice that whether there is any record present based on that particular look up criteria. In that case create some records on the basis of that criteria and let me know what happens.


If this post solves your problem , please mark it as solution.



Natraj Subramani 15Natraj Subramani 15
Hi Dipak,

I am facing the same issue now, any help is appreciated.