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
erikvmerikvm 

How to add a Custom Object Lookup field to a Visualforce page / Lightning Component?

Hello,

I'm trying to add a custom object lookup field to a Visualforce page - how can I go about doing this? This lookup field also has some logic (depending on what value you select in Lookup 1, Lookup 2 will display different values) - I want to let users outside Salesforce to be able to do this.

Any help is appreciated,
thanks
NagendraNagendra (Salesforce Developers) 
Hi Erik,

May I suggest you please check with below blog post with a similar requirement which might help you further.

Also, please tweak the code as per your requirement. Please let us know if this helps.

Kindly mark this as solved if it's resolved.

Thanks,
Nagendra