Add the Create Article button
Add the Create Article button
In this article
Lightning experience
In your Coveo Insight Panel Lightning Component, you can add a Create Article button () to create a Knowledge article directly from a case.
Note
This button can be used to create any record type. |
Prerequisites
Before adding the Create Article button, perform the following tasks:
Add the Create Article Button
-
Access your Coveo Insight Panel Lightning Component.
-
At the upper-right corner of the component, click , and then select Edit.
-
Click the Code View tab.
-
Depending on your Coveo for Salesforce version, add the following code:
-
Coveo for Salesforce v4.6 or higher
The following code must be added inside the
coveo-actionbutton-section
element.<button class="CoveoCreateArticleButton"></button>
For example:
<div class="coveo-summary-section"> <div class="CoveoInsightQuerySummary"></div> <div class="coveo-actionbutton-section"> <button class="CoveoCreateArticleButton"></button> </div> </div>
-
Coveo for Salesforce v3.41 to v4.4
The following code can be added anywhere you want.
<div class="CoveoCreateArticle"></div>
-
-
Click Save.