Visualforce $Action for opening Sobject LIST page

/ Published in: XML
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <!-- For Custom Object -->
  2. <apex:outputLink value="{!URLFOR($Action.CustomObject__c.List, $ObjectType.CustomObject__c)}">
  3. CustomObject__c List
  4. </apex:outputLink>
  6. <!-- For Standard Object like Contact -->
  7. <apex:outputLink value="{!URLFOR($Action.Contact.List, $ObjectType.Contact)}">
  8. Contact List
  9. </apex:outputLink>


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.