Loading
Salesforce now sends email only from verified domains. Read More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Launch an Omniscript from a Flexcard (Managed Package)

          Launch an Omniscript from a Flexcard (Managed Package)

          For the managed package runtime, launch an Angular or LWC Omniscript from an Omniscript Action element on a Flexcard. For example, launch a form that updates Account information based on the account Id passed from the Flexcard to the Omniscript.

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

          1. From the Flexcard Designer, drag an Action element into a state.
          2. Select Omniscript from the Action Type dropdown. See Flexcards Actions Reference (Managed Package).
          3. Click into Omniscript and select the Omniscript to launch.
            Tip
            Tip To include a scrollbar in an Omniscript, create a model flyout in the flexcard that calls the Omniscript. No scrollbar is included when you call the Omniscript in a new page.
          4. (Optional) From the VisualForce Page dropdown, select a VisualForce page to display the Omniscript. For example, if you have a custom template for your Omniscript, select the custom page you created.
          5. (Optional) To update the Omniscript's layout, select Lightning or Newport from the Layout Type dropdown.
          6. In the ContextId (or before Spring '22 Context ID) field, enter the sObject's context Id associated with your Omniscript. For example, if your Omniscript updates account information, your context Id is an account record Id variable from the data source, such as {AccountId}.
          7. (Optional) If you selected an LWC Omniscript from the Console Tab Label field, enter the visible label of the console tab. For example, Update Account.
            Console tab label
          8. (Optional) If you selected an LWC Omniscript, from Console Tab Icon, select an icon to display in the subtab of a console after the Omniscript Action link is clicked. For example, select standard:account for an Omniscript that updates account information.
            Console tab icon
          9. (Optional) To pass contextual data as a key/value pair, click + Add New next to Input Parameters and perform these tasks:
            1. Enter a variable name in the Key field. Prefix your variable name with c__, such as c__name.
            2. Enter the variable value in the Value field.
          10. (Optional) Select whether to open the Omniscript in the current tab or a new tab, select from the Open Target In dropdown.
          11. (Optional) To configure other options common among all action properties, see Flexcards Action Properties (Managed Package).

          What’s next: To style your action element, click Style to open the Style panel, and see Flexcards Action Style Properties (Managed Package).

           
          Loading
          Salesforce Help | Article