Loading
Prepare for Email to Become the Default Login ExperienceRead More
Creating Custom LWC Card Templates (Managed Package)

Creating Custom LWC Card Templates (Managed Package)

For the managed package runtime, beginning with the Vlocity Insurance and Health Summer '19 and Vlocity Communications, Media, and Energy Fall '19 releases, Vlocity supports the Salesforce Lightning Web Component programming model.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

Create a custom LWC card template from an existing template, or from one of Vlocity's base mixins, such as BaseState LWC for card states and BaseLayout LWC for layouts.

Note
Note

Custom Lightning web components built outside of the package cannot use any Salesforce Lightning web component that uses Salesforce resources or affects the component at run time. For more information, see Salesforce Modules.

Set Up Your Environment

To manage and develop Vlocity Lightning Web Components, use Salesforce DX with Visual Studio or IDX Workbench with Visual Studio. Both development approaches have source control. However, we recommend IDX Workbench because it allows you to deploy Vlocity components between orgs and compare both source and target files.

Create a Custom LWC Card Template

Create a new custom LWC layout template by extending the BaseLayout mixin. See Create a New Custom LWC Layout Template (Managed Package).

Create a new custom LWC card state template by extending the BaseState mixin. See Creating a New Custom LWC Card State Template (Managed Package).

Create a Custom LWC Card Template From an Existing Template

Create a custom LWC layout template by extending an existing layout template. See Extend a Template to Create a Custom LWC Layout Template (Managed Package).

Create a custom LWC card state template by extending an existing state template. See Extending a Template to Create a Custom LWC Card State Template (Managed Package).

 
Loading
Salesforce Help | Article