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
Anup Kabra 2Anup Kabra 2 

lookup on visualforce page in lightning style

Hi All, 
I have created a visualforce page which uses account lookup fields. I am using these page in lightning by giving lightningstylesheets  = "true".
However, when I click on the search Icon of lookup field, the lookup pop opens in classic mode but I need this lookup field in lightning style. Is there anyway to get it work using Visualforce page?
User-added image
User-added image


 
sfdcMonkey.comsfdcMonkey.com
lightningstylesheets  = "true", This is a beta version of Lightning Experience stylesheets for Visualforce, which means it’s a high-quality feature with known limitations. Lightning Experience stylesheets aren’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements.

  and this feature isn't available right now, when you have click on lookup icon it will always open standard classic popup,​


Thanks let us know if it helps you
mfawcettmfawcett
This is a known issue , please see the link below:

https://success.salesforce.com/issues_view?id=a1p3A000000mDL2QAM
Andriy PonomarovAndriy Ponomarov
Guys, could you please clarify if it was already fixed. Could you suggest workaround to display in lightning mode. Thx