Add a Standalone Custom LWC (Managed Package)

For the managed package runtime, to add a standalone custom Lightning web component to an Omniscript:

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

Note
Note

Standalone custom Lightning web components cannot extend any Omniscript element component or the OmniScriptBaseMixin component. The standalone component supports custom functionalities but cannot interact with an Omniscript. For more information on the standalone components, see Create a Standalone Custom Lightning Web Component (Managed Package).

  1. Drag a Custom LWC element from Inputs into the canvas.
  2. In the Lightning Web Component Name field, enter the name of a Lightning web component.
  3. Select the Standalone checkbox.
  4. Save and Activate the Omniscript.
  5. Click Preview to preview the Omniscript.

What’s next:

  • If the Standalone checkbox is deselected, changes to the data in an embedded Flexcard are cached when the user navigates away from the Flexcard. The changes are not applied to the data source.
  • For this reason, if you call an Update Data Source action in a Flexcard embedded in an Omniscript with Standalone deselected, then the action overrides any changes by the user.