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
MATTYBMEMATTYBME 

VF page Cases Listview dropdown not respecting Sharing Rules

For some reason my below VF code that renders the listview dropdown does not respect the fact that all views apart from "Recently Viewed" are set as private in my companies Sharing rules on Cases.
 
Code:
<apex:page standardController="Case" recordSetVar="cases" tabstyle="trouble_tickets__tab">
<apex:form id="theForm">
 <apex:pageBlock title="Cases Home">
    <apex:panelGrid columns="3">
      <apex:outputLabel value="Viewing:"/>
      <apex:selectList value="{!filterId}" size="1">
        <apex:actionSupport event="onchange" rerender="list"/>
        <apex:selectOptions value="{!listviewoptions}"/>
      </apex:selectList>
      <apex:commandButton value="Go" action="{!list}"/>
    </apex:panelGrid>
 </apex:pageBlock> 

 
Any reason for this? Or, is there a way to force the the Listview to display only recently viewed?
mtbclimbermtbclimber

Thanks for reporting this case. It appears to be a bug. I'll update this thread when an ETA has been established.

 

smackafeesmackafee

So, just to build on this question, though bugged.  If there was a way to specify which listview the page should use, you could specify this.  Is that possible?  Can you use a specific listview?