[SalesForce] How to – Redirect to object list view from VF in Lightning Experience

I tried this but it is not working in Lightning Experience

<apex:outputLink value="{!URLFOR($Action.Account.List,$ObjectType.Account)}}" target="_blank">
     View All Accounts

Found details around global variable Action here – Redirecting to a Standard Object List Page but even it didn't help much

Best Answer

<outputlink/> would translate to classic URL which doesn't work in Lightning or it redirect to classic user interface.

In Lightning, navigation does not vary org to org. You only need to pass the Sobject name only. For Account just set up the url as:


Related Topic