Loading
Salesforce now sends email only from verified domains. Read More
Public Sector Solutions Documentation
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
          Deploy Licensing and Permitting Process Package Lightning Web Components

          Deploy Licensing and Permitting Process Package Lightning Web Components

          After importing process packages into Public Sector Solutions, use Visual Studio Code to deploy a package’s Lightning web components to your org.

          Required Editions

          View supported product editions.
          User Permissions Needed
          To see installed packages and Lightning web components in Setup: View Setup and Configuration

          To deploy the Lightning web components in Public Sector Solutions process packages to your org, use Visual Studio Code and Salesforce Developer Experience (DX). If you’re unfamiliar with the Salesforce DX environment, complete the Quick Start: Lightning Web Components project and the Lightning Web Components Basics module in Trailhead before continuing.

          1. In Visual Studio Code, create a project and import the Lightning web components that you downloaded from the Public Sector Solutions Process Library into it.
          2. Make sure that the runtimeNamespace in the component’s .js-meta.xml file and the import package name in the component's .js file use the namespace prefix for the Omnistudio package in your org. To find the namespace prefix for your Omnistudio package, from Setup, search for Installed Packages and then select Installed Packages. In the Installed Packages table, look at the Namespace Prefix column for Omnistudio.
            The Instsalled Packages page showing the Namespace Prefix for OmniStudio

            If necessary, in Visual Studio Code, edit the runtimeNamespace and namespace prefix in your Lightning web component files.

            The .js-meta.xml file for a Lightning web component with a callout on the runtimeNamespace
            The .js file for a Lightning web component with a callout on the namespace prefix
          3. Connect your Visual Studio Code project to your Public Sector Solutions org. To authorize your org from the command palette, select SFDX:Authorize an Org. To complete the authorization process, select the URL to log in and enter your credentials.
          4. To deploy the project files from the command palette, select SFDX: Deploy this Source to Org. To deploy a single file, right-click it and select SFDC: Deploy Source to Org.
          5. To verify that the Lightning component is in your org, from Setup, in the Quick Find box, enter Lightning Components and then select Lightning Components.
           
          Loading
          Salesforce Help | Article