Apply Global Branding to Omniscripts (Managed Package)

For the managed package runtime, apply global style changes to Omniscripts by using the Newport Design System, which you can download and use to edit and override existing Newport CSS styling.

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

Required Versions

Available beginning with Vlocity Insurance and Health Summer '19 and CME Fall '19.

Before You Begin

If you are unfamiliar with using command-line interfaces, see Command Line 101 (git-tower documentation).

System Requirements:

  1. Download Node.js. Ensure that Node.js is installed on your local computer according to the npm documentation at https://www.npmjs.com/get-npm. If you don’t have Node.js download it from https://nodejs.org/en/download/.
  2. Download the package npm-install from: the docs.npmjs.com site.
  3. Clone the Newport Design System (vlocityinc/newport-design-system) from https://github.com/vlocityinc/newport-design-system using a command-line interface. To see which components are provided by Newport, look at the UI/components directory.
    Note
    Note

    If you cannot use a file from GitHub, download the Newport Design System here. Newport Design System branches are common to all packages.

  4. From the GitHub page, perform the latest steps to install the correct dependencies.
  5. After installation is complete, launch the Storybook.js preview by issuing the command npm start.
  6. Review the documentation in the Storybook preview.
  7. Add customizations to your theme. See Customize Omniscripts and Flexcards with the Newport Design System (Managed Package).
  8. Apply the Omniscript to individual Omniscripts or override the Newport theme for the entire org. See Deploy and Apply Global Styling Changes using the Newport Design System (Managed Package).
  9. Preview the changes in your Salesforce org by using the Newport Player in the Omniscript Designer Preview.