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
    Can you provide a little more detail than "it is not working"? – Adrian Larson Jan 10 '17 at 19:43
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.