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
soorya rsoorya r 

is it possible to pass Selected ListView Id from Standard page to VF page?

Hi all,

I selected a particular list in listview option. I have to send that particular selected list view id from standard page or get id to use in controller. I am not have any idea and i didn't get related doc. sugggestions plz.Thanks in Advance.
Abhishek BansalAbhishek Bansal
Hi Soorya,

You can use the below code to use Custom List Views in VF page :

<apex:page>
<apex:enhancedList type="Case" height="300" rowsPerPage="10" id="YourListViewId" />
</apex:page>

Let me know if you need more help.

Thanks,
Abhishek
 
soorya rsoorya r
Hi Abhishek,

I Selected the List View in Standard Page (Eg:Contacts Page) if i click the List button then it leads to Vf page. So that I pass that Selected List view from Standard Page to that VF page. is it possible ?