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

Restrict data set



I have a VF page and it has account and contact lookup fields. Once I select account and then click on lookup for contact, it should show only the contacts for the selected account. How to do this in apex code?