You need to sign in to do that
Don't have an account?
MATTYBME
Any reason for this? Or, is there a way to force the the Listview to display only recently viewed?
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?
Thanks for reporting this case. It appears to be a bug. I'll update this thread when an ETA has been established.
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?