Play Games

Search This Blog

Wednesday, June 11, 2014

How to display standard list view functionality in visualforce page?

To display listviews ,we have <apex:listviews> component.

syntax: <apex:ListViews type="Account" /> where type indicates The Salesforce object
 for which list views are displayed.

For example to display account listviews in visualforce page,
first create a visualforce page with the following code

<apex:page standardController="Account" >
<form>
<apex:ListViews type="account" />
</form>
</apex:page>

when we run the above visualforce page the output will look like this


No comments:

Post a Comment