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
smackafeesmackafee 

picking the view for a listview

Is there any way to use the functionality of a listview but to specify which to pick?  The scenario is that I want to create a page for a "low tech" user that removes any option of them looking at the wrong set of data.

Ispita_NavatarIspita_Navatar

This is how the ListViews is used:-

 

<apex:page showHeader="true" tabstyle="Case">
<apex:ListViews type="Case" />
<apex:ListViews type="MyCustomObject__c" />
</apex:page>

 

 

The attributes expoosed are:-

1. Id- Needed to reference the view

2. Rendered is a boolean value which specifies whether the component is rendered Boolean
on the page. If not specified, this value defaults to true.

3.type - The Salesforce object for which list views are displayed, for example, String Yes
type="Account" or type="My_Custom_Object__c".

 

Hence other than specifying which object list view will be displayed , it does not provide the leverage about specifying which view of that object.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.