For the managed package runtime, to create a new LWC Card Layout:
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- In your org, click the App Launcher, click Vlocity Cards, and click New.
-
Enter a unique Layout Name and follow Vlocity required naming conventions and best practices. See Card and Card Layout Naming Conventions (Managed Package).
Note
Beginning with Vlocity Insurance and Health Spring '20, when creating a card or layout, the name and author must only contain underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. Existing layout names and card names are automatically updated to make them compliant. New cards and layouts can not be saved without following these naming requirements.
- Select a Layout as the Layout Type.
- (Optional) Update the Layout Author. See Understanding the Author of a Card Layout (Managed Package).
- Click Enable LWC.
- Click into the Layout LWC field to select an appropriate LWC layout template or component. For example, select the Vlocity cardCanvasLayout template. See Base LWC Card and Layout Templates (Managed Package).
- Click Save.