metelsky / KnowledgeSearch

Lightning Web Component used for searching Lightning Knowledge articles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Knowledge Search Lightning Web Component

Lightning Web Component used for searching Lightning Knowledge articles

How to use it

Knowledge utility bar widget : Knowledge widget

On a record detail page :

Knowledge record detail

How to install it ! Step 1 ) Clone the repo
Step 2 ) Run the command : ./setupScratchOrg
Step 3 ) Create cases with record types (QA Salesforce, QA Trailhead)
Step 4 ) Open the component and search for articles

    This script will setup a scratch org with this configuration :<br/>
        - Pushging Metadata (Application, Apex Classes, FlexiPage, LWC)<br/>
        - Set the permission set to be a Knowledge User<br/>
        - Set the permission set to access to the Knowledge App<br/>
        - Importing demo's articles<br/>

Current version :

- Adding redirection to Knowledge articles in a new browser tab.
- Available for both Lightning Record Page && Utility Bar Item
- Conditionnal styling (utility component / lightning web component)

TODO :

- Remove the "hide/show" when the component is used in the utility bar
- Make inputs and filters dynamically.

Scratch Org :

- Generate a username for the new knowledge user created
- Enable the 'Organization Admins Can Login as Any User' feature by default

About

Lightning Web Component used for searching Lightning Knowledge articles


Languages

Language:JavaScript 36.9%Language:HTML 28.7%Language:Apex 18.8%Language:Batchfile 11.2%Language:CSS 4.4%