You need to sign in to do that
Don't have an account?

Can the Folder or Document type be used with either the listViews or enhancedList component?
Based on my observations the answer seems to be “no”.
The table below shows the result for each combination of component and type.
Visualforce Markup |
Error Message |
<apex:listViews type="Folder" /> |
common.page.InvalidParameterValueException: Invalid parameter value "Folder" for parameter "type". |
<apex:enhancedList type="Folder" …/> |
An internal server error has occurred |
<apex:listViews type="Document" /> |
None (works) |
<apex:enhancedList type="Document" …/> |
Unsupported type Document encountered. |