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
Ankita Gupta 65Ankita Gupta 65 

dynamic lookup field in visualforce page

My requirement is to show a lookup on user object filtered based on a permission set. Since filtering is not possible on the basis of permission set, I wish to achieve it by making a SOQL query in my controller. Once I get a list of users with the given permission set in my apex controller, how can I show that list as a lookup in the Visual force page. 
goabhigogoabhigo
You will have to custom build the entire piece - the lookup icon, lookup popup window (and of course the data shown in it).