function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sss pppsss ppp 

list view

Hello guys,

Can anyone explain me this code.

<apex:page standardController="Opportunity" recordSetVar="accounts">
   <apex:form>
       <apex:selectList value="{!filterid}" size="1">
           <apex:selectOptions value="{!listviewoptions}"/>
       </apex:selectList>
       <apex:commandButton value="Go" action="{!list}"/>
   </apex:form>
</apex:page>
Medhya MahajanMedhya Mahajan
Hi, 

This code is used to display a list view of accounts.
This link mgiht help you : https://trailhead.salesforce.com/en/visualforce_fundamentals/visualforce_standard_list_controllers

MArk Solved if it helped.

Regards
Medhya Mahajan