Omnistudio Flexcard

lightning-omnistudio-flexcard

A wrapper for Omnistudio Flexcards that enables you to display Flexcards in custom Lightning web components.

For Use In

Lightning Experience, Experience Builder Sites

Display data and launch actions with Omnistudio Flexcards. To create a Flexcard, use Flexcard Designer. Omnistudio is available to select Industry Cloud customers. After you create and activate a Flexcard, you can use the lightning-omnistudio-flexcard component to display your Flexcard in your custom LWC component.

The lightning-omnistudio-flexcard component is a wrapper for the Flexcard component that's available for use in Lightning App Builder and Experience Builder Aura sites.

To use a Flexcard in your custom component, pass in the Flexcard's unique name.

This example shows how to display account information based on a specific record ID.

This example shows how to add data to the records parameter.

Pass the data to the records attribute in your component.

When you add a Flexcard name that doesn't match any of your active Flexcards, an error is shown only when you preview the custom LWC project at runtime. In this case, you don’t see an error during deployment. Before you deploy your component to an org, verify the name of the Flexcard and that the Flexcard is active.

To make your component available in Lightning App Builder, see Configure a Component for Lightning App Builder. To make your component available in Experience Builder, see Configure a Component for Experience Builder.