+ Start a Discussion

Opening Knowledge Articles in a new tab

I have an Apex Page that uses knowledge:articleList:


<knowledge:articleList articleVar="article" categories="BoxToneVersion:All" sortBy="mostViewed" pageSize="5">
<td><a target="_parent" href="{!URLFOR($Action.KnowledgeArticle.View, article.id)}">{!article.title}</a></td>


 In my customer portal, whenever I click on a link to a Knowledge Article, the link takes to me the article in the same tab. Is there a way to set it so that the article opens in a new tab? If so, how would I do that?


You need to update value for the target attribute.


the right value to open in a new tab is "_blank".