Examples of Vlocity/SF LWC components (in various states of working)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

2.8 KiB

Vlocity LWC Components

My own local collection of (mostly) working examples of Vlocity LWCs.

Contributing

When creating a new component, use this naming convention:

The name is 3 parts.

  • First, prefix with base, omni or lightning

  • Second, describe the type of component (i.e. "file input", "text", "checkbox", etc…)

  • Then append Component

Examples:

  • baseCheckboxComponent

  • omniStepComponent

  • omniTextComponent

  • lightningFileInputComponent

Current List

Updated Regularly

PROVIDEUPDATE Step Example - baseStepNavigationComponent link gh

Need to get info on how to get stepIndex for the dispatchOmniEvent to work

  • WORKAROUND found this.jsonDef.indexInParent

NEEDCLARIFICATION File Upload - baseFileInputComponent link gh

Not able to see the files on the input

NEEDCLARIFICATION CSS Styling Example - textBlockHeader link ap

Need to add styles to parent, so this isn't an effective solution Maybe explore adding just the class (and the rest styled via Newport)

WAITING Typeahead Example - baseTypeaheadComponent link gh

Waiting on example from Sidd

DONE Accordion Example - baseAccordionComponent link gh

CLOSED: [2020-02-29 Sat 17:59]

DONE Checkbox Example - omniCheckboxComponent link gh

CLOSED: [2020-03-01 Sun 17:30]

DONE Text Example - omniTextComponent link gh

CLOSED: [2020-02-29 Sat 18:03]

DONE Vlocity Action Example - baseActionComponent link gh

CLOSED: [2020-02-29 Sat 18:03]