Add the Create Article button

In your Coveo Insight Panel Lightning Component, you can add a Create Article button (edit) 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

  1. Access your Coveo Insight Panel Lightning Component.

  2. At the upper-right corner of the component, click settings-filled, and then select Edit.

  3. Click the Code View tab.

  4. Add the following code 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>
  5. Click Save.