You need to sign in to do that
Don't have an account?
cpo
apex:enhancedList and Articles
I am trying to use the apex:enhancedlist component to display knowledgebase articles in a grid but it seems to not be supported as everytime I try it with the type of knowledgearticleversion or knowledgearticle it fails
<apex:enhancedList height="300" rowsPerPage="10"></apex:enhancedList>
My aim is to display articles in a similar way in visualforce to what the main salesforce page looks like. Any help would be much appreciated.
<apex:page>
<apex:enhancedList type="ObjectName" height="300" rowsPerPage="10" />
</apex:page>
When ObjectTypeName equals to KnowledgeArticleVersion or any article type API Name in the FROM clause, a WHERE clause must be specified with one of the following parameters:
o WHERE PublishStatus='online' for published articles
o WHERE PublishStatus='archived' for archived articles
o WHERE PublishStatus='draft' for draft articles
Otherwise it will show 'bad filter id' error message.
Hope this helps.