Loading
Prepare for Email to Become the Default Login ExperienceRead More
Run OmniOut in Development Mode

Run OmniOut in Development Mode

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

See jsForce on GitHub.

To run OmniOut in development mode, perform these tasks.

  1. In the .src/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. To find your namespace, see View the Namespace and Version of Managed Packages.
  4. Save your file.
  5. In the terminal, run the npm run watch command.

What’s next: Move OmniOut to Your App.

 
Loading
Salesforce Help | Article