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
ZeuseniusZeusenius 

Customer Portal Tab with articles of only one article type

Hi everybody,

 

I would like to build up a knowledge base for customers using the customer portal. My plan is to have different Tabs which shows different Types of articles. (e.g. an Event Tab where only the "event-articles" are listed, an Company Tab where only the "company-articles'"are listed)

Is there a way of doing that?

 

I tried following code on a VisualforcePage which was linked with a custom "Event-Tab":

<apex:page >
<apex:pageBlock title="List of upcoming Events" >
<apex:outputPanel layout="block">
    <ul>
        <knowledge:articleList articleVar="article" articleTypes="Event__kav" sortBy="lastUpdate">                 
            <a href="{!URLFOR($Action.KnowledgeArticle.View, article.id)}">{!article.title}{!article.lastModifiedDate}</a>
        </knowledge:articleList>
    </ul>
</apex:outputPanel>
</apex:pageBlock>
  
</apex:page>
               

 But this list doesn"t show any information of the article (like the date of the event), so it isn't a perfect solution.

 

The best way would be using the standard knowledgebase design with the limitation only for one special article type.

 

I would be very happy if someone could help me with this.

 

Thanks a lot in advance!

 

Konstantin