For the managed package runtime, to launch the LWC Omniscript from a layout action:
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- From Setup, enter Object Manager into the Quick Find search.
- Select an Object, and click Buttons, Links, and Actions.
- Click New Button or Link.
- Set Display Type to Detail Page Button.
- Set Content Source to URL.
-
Configure the URL value to equal the relative path of the vlocityLWCOmniWrapper. For information on obtaining the relative path, see Launching an LWC Omniscript in Lightning (Managed Package).
namespace__vlocityLWCOmniWrapper?c__target=c:myLWCTestEnglish&c__layout=lightning