Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
knowledge:articleCaseToolbar
UI component used when an article is opened from the case detail page. This component shows current case information and lets the user attach the article to the case.
An example of an 'FAQ' custom article-type template that uses this component
1<apex:page standardController="FAQ__kav" sidebar="false" >
2 <knowledge:articleCaseToolbar
3 rendered="{!$CurrentPage.parameters.caseId != null}"
4 caseId="{!$CurrentPage.parameters.caseId}"
5 articleId="{!$CurrentPage.parameters.id}" />
6 <h1>{!FAQ__kav.Title}</h1><br />
7 </apex:page>Attributes
| Attribute Name | Attribute Type | Description | Required? | API Version | Access |
|---|---|---|---|---|---|
| articleId | String | Id of the current article. | Yes | 43.0 | |
| caseId | String | Id of the current case. | Yes | 43.0 | |
| id | String | An identifier that allows the component to be referenced by other components on the page. | 14.0 | global | |
| includeCSS | Boolean | Specifies whether this component must include the CSS. Default is true. | 43.0 | ||
| rendered | Boolean | Specifies whether the component is rendered on the page. If not specified, this value defaults to true. | 14.0 | global |