I see in the Salesforce1 Developer Guide the section on Managing Navigation has documentation on the navigateToList
method.
navigateToList(listViewId, listViewName, scope)
Navigates to the list view as specified by the listViewId and listViewName.
What is the scope parameter?
I have the following Visualforce that should redirect to a list view, assuming that the listViewId
is the Id of the list view and the listViewName
is the Name of the view (i.e., what displays in the picklist in Salesforce web). I'm not sure what the scope parameter would be, though.
<apex:page >
<script>
if ( (typeof sforce != 'undefined') && (sforce != null) ) {
sforce.one.navigateToList('00BZ0000000VzdE', 'My Custom List View', ???);
}
</script>
</apex:page>
I found this documentation on the Scope Parameter, but it is for oauth, so I assume it wouldn't apply to this method.