Newer Version Available
Customizing the Articles Tool
The Articles tool lets support agents browse Salesforce Knowledge articles,
see whether articles are attached to a case, and share relevant articles
with customers. With the support:caseArticles component, you
can:
- Customize the appearance and dimensions of the Articles tool.
- Define how the tool’s search function works, including which article types and keywords are used by default and whether advanced search is available.
- Specify whether agents can attach articles to emails.
support:caseArticles Attributes
Use Case
Cirrus Computers wanted to customize the Case Feed articles tool so agents could more easily find articles to help resolve customers’ issues.
Cirrus used the support:caseArticles component to create an articles tool that:
- Appears in the right sidebar of the page and is open by default on all case pages.
- Uses search-as-you-type functionality to show suggested articles quickly.
- Lets agents attach articles to messages they write with the Email action.
- Displays the most recently published articles when no articles are attached to a case.
Code Sample
1swfobject.registerObject("clippy.codeblock-0", "9");
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17<apex:page standardController="Case">
18 <div style="margin-left:-10px;margin-right:-10px;">
19 <div style="background-color: #99A3AC;color:#FFFFFF;font-size:1.1em;font-weight:
20 bold;padding:3px 6px 3px 6px;">Articles</div>
21 <support:caseArticles caseId="{!case.id}"
22 bodyHeight="auto"
23 titlebarStyle="none"
24 searchButtonName="Search"
25 searchFieldWidth="200px"
26 defaultSearchType="lastPublished"
27 />
28 </div>
29</apex:page>