1

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
</apex:outputLink>

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

1
  • 1
    Can you provide a little more detail than "it is not working"?
    – Adrian Larson
    Commented Jan 10, 2017 at 19:43

1 Answer 1

1

<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:

/one/one.app?source=aloha#/sObject/Account/home

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .