#+TITLE: Vlocity LWC Components #+Author: Levi Olson 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 [[dired:./force-app/main/default/lwc/baseStepNavigationComponent/][link]] [[https://github.com/leothelocust/vlocity-lwc-examples/tree/master/force-app/main/default/lwc/baseStepNavigationComponent][gh]] Need to get info on how to get =stepIndex= for the =dispatchOmniEvent= to work - WORKAROUND found =this.jsonDef.indexInParent= *** NEEDCLARIFICATION File Upload - baseFileInputComponent [[dired:force-app/main/default/lwc/baseFileInputComponent/][link]] [[https://github.com/leothelocust/vlocity-lwc-examples/tree/master/force-app/main/default/lwc/baseFileInputComponent][gh]] Not able to see the files on the input *** NEEDCLARIFICATION CSS Styling Example - textBlockHeader [[dired:~/Projects/vlocity/devr6/force-app/main/default/lwc/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 [[dired:./force-app/main/default/lwc/baseTypeaheadComponent/][link]] [[https://github.com/leothelocust/vlocity-lwc-examples/tree/master/force-app/main/default/lwc/baseTypeaheadComponent][gh]] Waiting on example from Sidd *** DONE Accordion Example - baseAccordionComponent [[dired:./force-app/main/default/lwc/baseAccordionComponent/][link]] [[https://github.com/leothelocust/vlocity-lwc-examples/tree/master/force-app/main/default/lwc/baseAccordionComponent][gh]] CLOSED: [2020-02-29 Sat 17:59] *** DONE Checkbox Example - omniCheckboxComponent [[dired:./force-app/main/default/lwc/omniCheckboxComponent/][link]] [[https://github.com/leothelocust/vlocity-lwc-examples/tree/master/force-app/main/default/lwc/omniCheckboxComponent][gh]] CLOSED: [2020-03-01 Sun 17:30] *** DONE Text Example - omniTextComponent [[dired:./force-app/main/default/lwc/omniTextComponent/][link]] [[https://github.com/leothelocust/vlocity-lwc-examples/tree/master/force-app/main/default/lwc/omniTextComponent][gh]] CLOSED: [2020-02-29 Sat 18:03] *** DONE Vlocity Action Example - baseActionComponent [[dired:./force-app/main/default/lwc/baseActionComponent/][link]] [[https://github.com/leothelocust/vlocity-lwc-examples/tree/master/force-app/main/default/lwc/baseActionComponent][gh]] CLOSED: [2020-02-29 Sat 18:03]