I have a page full of apex:inputfield tags. On one of these inputfields I'd like to popup my own lookup window. What should my approach be?

It seems that apex:inputfield is bound to a data field, but I'd like to retain the existing look and feel of salesforce, yet popup my own VF page.

How do I go about something like that?

2 Answers 2


Both Bob Buzzard and Jeff Douglas have excellent blog posts on this very subject. I have implemented both and each works very well. I would check these out and they will at least get you started.




http://blog.jeffdouglas.com/2011/08/12/roll-your-own-salesforce-lookup-popup-window/ and http://sfdchack.blogspot.in/2013/01/salesforce-custom-lookup-using-apex.html

There are already few blogs on how you can roll your own window .

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .