For the managed package runtime, configure LWC-specific properties on your LWC Card layout.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
After creating an LWC card layout, configure the optional layout properties in the LWC Settings of the Layout pane of the Card Designer.
|
Property |
Description |
Example |
|---|---|---|
|
Enable Newport |
Enable the Newport Design System to load the Newport CSS resource to your LWC Card layout. Your Layout and Card templates must have Newport support. See Apply Global Branding to Vlocity Cards (Managed Package). |
N/A |
|
Include User Information |
Uses the $root.vlocity variable to return information about the logged in user from the data source of a card layout. See Cards Context Variables (Managed Package). Beginning with Vlocity Insurance and Health Winter '20 and Vlocity CME Winter '20, LWC Cards support returning information about the logged in user from the data source of a card, in addition to a card layout, after enabling Include User Information. |
For example, to display the ID and the name of the logged-in user on a card, enter $root.vlocity.userName in the Search For field of a SOSL search. |
|
Loop Settings |
Sets how to group the cards. To group cards by object type (such as Cases, Accounts, Contacts), select Repeat Cards. To group cards by the order they appear in the database, select Repeat Records. Deselect Repeat Records only to make a Chart or Datatable display one record. For all other elements, Repeat Records is required for displaying even one record. |
For example, if you have a Datatable that displays a list of contacts, choose Repeat Records. |
|
Omniscript Support |
Enables Omniscript to work with your LWC card layout. When enabled, the LWC card layout is usable in the Omniscript Designer via the Custom LWC input element. See Launch Vlocity Cards within an LWC Omniscript (Managed Package). The card must be active for the Omniscript Support feature to work. The LWC card layout is a standalone LWC that doesn’t interact with the LWC Omniscript. |
N/A |
|
Show XML Interface |
Sets the metadata for the component using a visual editor. For more information on configuring metadata, see Component Configuration File. The layout must be active to enable this feature. By default, the following metadata is set: Master Label, API Version, Is Exposed, and AppPage, RecordPage, and HomePage targets. See Configuration File Tags. |
For example, select the CommunityPage checkbox under Target Name to make your LWC accessible on a community page. |