Skip to content

Repository files navigation

sf-quick-text

Deploy with reapd

Deploy with cli



Provides a 'Add Quick Text' button that allows the user to both search and select standard Quick Text. The selected text is then dispatched as an event for the developer to handle and implement.

Properties:

 @apichannelsToInclude=''
@apibtnVariant='brand'

channelsToInclude - include a comma separated list of quick text channels to be displayed to the user (Ex 'Email;Internal;Event;Task;Knowledge').

btnVariant - the variant of the button.

Events:

quicktextselect - dispatches once a quick text record is selected.

Example:

HTML

<c-quick-textonquicktextselect={handleQuickTextSelect}></c-quick-text>

JS

handleQuickTextSelect(event){constquickTextSelected=event.detail.value}

Screenshots

Alt textAlt textAlt text

About

A quick component to allows a user to select quick text from the standard QuickText sobject.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages