I have created a visualforce page (code given below) to show articles related to Case and keyword search for articles. This component is displayed as a sidebar in the case feed page layout.
The sidebar is displayed and works in the Case detail page and edit page. But, when I click the New Case button in the console and choose a record Type, it displays "This component is only supported for Case objects." in the New Case page layout sidebar (both developer and enterprise editions). Any ideas on what's causing this issue?
Visualforce Page
<apex:page standardController="Case">
<style>
.SidebarHeader {
background-color: #5882FA;
color: #000000;
font-size: 15px;
font-weight: bold;
padding: 5px 5px 5px 5px;
}
</style>
<div>
<div class="SidebarHeader">
Articles Sidebar
</div>
<support:caseArticles caseId="{!case.id}"
bodyHeight="auto"
attachToEmailEnabled="true"
titlebarStyle="none"
searchButtonName="Search"
searchFieldWidth="200px"
defaultSearchType="lastPublished"
/>
</div>
</apex:page>
Case Detail Page
New Case Page Layout (Sidebar Error)