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
mounika darisi 6mounika darisi 6 

Sharing rules not applicable on Visualforce page Lookup

Hi All,

I had given Account OWD to private and created sharing rules to share records to specific users on satisfying few conditions.
I created Visualforce page and tehre is Account Lookup field which is displaying all the Account records irrespective of sharing rules.
I found it is salesforce bug that Visualforce page Lookup will not consider sharing rules.
I am planning to create custom lookup.
Let me know if there is any other possibility.

Thanks,
Mounika