You need to sign in to do that
Don't have an account?
How to display multiple standard object with list views
Hi all,
how to display list view with multiple standard objects in visual force page.
I display only contact list views, but want display more than one standard object
List Name List id
New This Week | 00B9000000464v7EAA |
New Last Week | 00B9000000464vIEAQ |
Platinum and Gold SLA Customers | 00B9000000464vZEAQ |
Recently Viewed Accounts | 00B9000000464vhEAA |
All Accounts | 00B9000000464viEAA |
My Accounts | 00B9000000464vqEAA |
so how to display multiple standard object list views
my visual force page:
<apex:page standardController="contact" recordSetVar="contact" extensions="aaa">
<apex:pageBlock title="Account Lists">
<apex:form id="theForm">
<apex:pageBlockSection >
<apex:outputpanel >
<table class="list">
<tr>
<th >List Name</th>
<th>List id</th>
</tr>
<apex:repeat value="{!listviewoptions}" var="li">
<tr>
<td > <apex:outputText value="{!li.label}"></apex:outputText></td>
<td ><apex:outputText value="{!li.value}"></apex:outputText></td>
</tr>
</apex:repeat>
</table>
</apex:outputpanel>
</apex:pageBlockSection>
</apex:form>
</apex:pageBlock>
</apex:page>
Please Replay me this is possible or not ? This is urgent please.
Thanks in advance