Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Energy & Utilities Cloud
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 Application Approval Metadata

          Deploy Application Approval Metadata

          Download the Application Approval SFDX metadata, and deploy them to your Salesforce org.

          In order to deploy the metadata, you must download Visual Code Studio (VS Code), a free, open-source code editor.

          1. Download and install Visual Studio Code. See Visual Studio Code.
          2. Install Salesforce Extension Pack in Visual Studio Code:
            1. Launch Visual Studio Code.
            2. Click the Extensions icon.
            3. Search for Salesforce Extension Pack and click Install.
          3. Create a project in Visual Studio Code:
            1. Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS) to make the command palette appear.
            2. Type and select SFDX: Create Project with Manifest.
            3. Select Standard.
            4. Enter any project name, press enter.
            5. Select a location on your computer for the project files to go.
            6. Click Create Project.
          4. Authenticate your target org:
            1. Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS).
              The command palette opens.
            2. Enter SFDX: Authorize an Org, and then select SFDX: Authorize an Org.
            3. To accept the default login URL, press Enter.
            4. Enter an alias.
              For example, enter Astro.
              A new Salesforce login window opens in a browser.
            5. Log in to your target org.
            6. When you are asked to grant access to the connected app, click Allow, and then close the browser window.
              The command-line terminal window shows a message when the authentication is successful.
          5. Download and extract the metadata file.
            1. Download this datapack to your local desktop: EUC_ProgramApplnApproval_Sfdx_Datapacks.zip.
            2. Create a ProgramApplnApproval_SFDX folder in your local desktop.
            3. Extract EUC_ProgramApplnApproval_Sfdx_Datapacks.zip to the ProgramApplnApproval_SFDX folder
          6. In the folder, create the file sfdx-project.json which contains the following code:
            {
                "packageDirectories": [
                    {
                        "path": "salesforce_sfdx",
                        "default": true
                    }
                ],
                "namespace": "",
                "sfdcLoginUrl": "https://login.salesforce.com",
                "sourceApiVersion": "59.0"
            }
          7. Move the package.xml file from salesforce_sfdx/main/default to the ProgramApplnApproval_SFDX folder.
            ProgramApplnApproval_SFDX folder
          8. Open ProgramApplnApproval_SFDX in Visual Studio Code.
          9. Deploy components from to your target org.
            1. In VSCode, in the left panel, right-click the salesforce-sfdx folder.
              For Mac devices, CMD + click the salesforce-sfdx folder.
            2. Click SFDX: Deploy Source to Org.
              If deployment fails for any component, select the components that failed and deploy them individually.
           
          Loading
          Salesforce Help | Article