Loading
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
          Run OmniOut in Development Mode (Managed Package)

          Run OmniOut in Development Mode (Managed Package)

          For the managed package runtime, view and test your Omniscript and Flexcard before adding it to your application by running it in development mode. Use a jsForce connection to request data from your org.

          Before you begin:

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

          1. Download your Lightning web component and add it to OmniOut. For Omniscripts, see Add an Omniscript Lightning Web Component to OmniOut (Managed Package). For Flexcards, see Add a Flexcard LWC to OmniOut (Managed Package).
          2. To enable a Salesforce API connection from your app, create a Salesforce Connected App. See Create a Connected App for OmniOut (Managed Package).
          1. In the .src folder's index.html file, locate function JSForceConnectionExample().
          2. In the const connection object, enter the Salesforce Connected App's access token and instance URL. See Access Token.
            const connection = new jsforce.Connection({          // Set your jsForce configuration here
                accessToken: '', 
                instanceUrl: ''         
            });
            Dev mode OmniOut app's jsForce connection object
          3. Set this.namespace equal to the namespace of your package namespace.
          4. Save your file.
          5. In the terminal, enter and run the command npm run watch.
           
          Loading
          Salesforce Help | Article