Use apex:listViews in Apex #inSalesforce
Use to display the list view picklist for an object, including its associated list of records for the currently selected view.
Once implemented, the details will be displayed on the main tab for a particular object.
Create a vf page with details like -
Syntax:
<apex:page showHeader="true" tabstyle="Account">
<apex:ListViews type="Account"/>
<apex:ListViews type="Contact"/>
<apex:ListViews type="Candidate__c"/>
<apex:ListViews type="Favorite__c"/>
</apex:page>
<apex:ListViews type="Account"/>
<apex:ListViews type="Contact"/>
<apex:ListViews type="Candidate__c"/>
<apex:ListViews type="Favorite__c"/>
</apex:page>
Visual:
Reference: https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_listViews.htm
Comments
Post a Comment