festloha.blogg.se

Salesforce rich text field
Salesforce rich text field





salesforce rich text field

Message to show when disallowed symbols used. (example => (latest|recommended|upg|upgs)\b) Parameterĭetermines whether or not Screen shows Previous navigation (default => false) These are the main behaviors allowed with this component, and the inputs/outputs are shown below. As before, any time this is used you are given the option to ‘Revert Last Change’. After used, a Revert button will also appear to undo those last changes.Īuto-replace (here named ‘Replace Branded Terms’) takes an input map and replaces any found keys with the associated replacement value. Search and Replace functionality allows us to put a ‘Search for Value’ and ‘Replace with Value’. As you type a disallowed word or symbol, the chosen Toast type, mode and message will be displayed. I recommend using formulas to pull custom label values – then you can maintain your values easily in custom labels without editing the Flow itself.Ĭomponent interaction itself is then very simple.

salesforce rich text field

Simply add the LWC to the Flow, and fill in each input/output element as per the description. We will look at this marketing example, and where ‘Super Rich Text’ component can achieve these ends. ProductA should become ProductA™ for example, and it is onerous for the team maintaining those descriptions to handle those updates manually through the Rich Text input. Management wants these notes to follow a certain format, to not allow certain words that may be misleading to customers, and to allow for a search and replace functionality to allow mass updates within that Rich Text.Īnother scenario would be concerning customer-facing sales text that requires certain formatting, disallowed word checks, search and replace, AND the ability to automatically replace certain words with their branded equivalent. so that all customization can be done via the Flow inputs.Ĭonsider a scenario where Service Console users are writing customer-facing Case notes visible on a Community. This new FSC for ‘Super Rich Text’ should be generic and take inputs on toast and error behavior, words to block, replacement maps, etc. This component is a great starting point, and there are multiple business use cases that could make use of some expanded functionality that we will discuss in this post. unofficialSF (a tremendous collection of resources provide by Alex Edelstein, Eric Smith, and others) has provided a great LWC to assist with Rich Text input. Rich Text fields provide important functionality, but can be difficult to employ and deal with properly, especially in Flows.







Salesforce rich text field