You need to sign in to do that
Don't have an account?
di_zou
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">
<tr>
<td>{!article.articlenumber}</td>
<td><a target="_parent" href="{!URLFOR($Action.KnowledgeArticle.View, article.id)}">{!article.title}</a></td>
</tr>
</knowledge:articleList>
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".
http://www.w3schools.com/tags/att_a_target.asp