Loading
Get Started with Communications, Media, and Energy & Utilities (CME)...
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
          Add Multisite Custom Record Types to Industries CPQ in LWC

          Add Multisite Custom Record Types to Industries CPQ in LWC

          To use the Lightning Web Components interface for Industries CPQ, create UI containers for the group member types that Industries CPQ support by default. The group member types include quote records, service accounts, and subscriber accounts. Also, make the Opportunity field visible to users.

          1. From the Setup app, open the Lightning App Builder.
          2. Find the Default CPQ Quote Record Page, and click Edit.
          3. Add the Flexcard with the name, cpqMultisiteLocationsContainer to the CPQ quote records.
            • Select the component with the tabs.

              The Default CPQ Quote Record Page with the tab component selected.
            • In the Tabs panel, click Add Tab.

            • Click the new tab, and from the Tab Label list, select Custom.

              An example of the Custom menu item selected for the Tab Label and Locations entered for the Custom Label name.
            • in the Custom Label field, enter a name, such as Locations, and click Done.

            • Click the new tab to select it.

            • In the Components panel, search for cpqMultisiteLocationsContainer.

            • Drag the cpqMultisiteLocationsContainer into the new tab region.

              cpqMultisiteLocationsContainer shown in the Components panel with an arrow that shows dragging into the new tab region.
            • Click Save.

          4. Repeat above steps to add the cpqMultisiteServiceAccountContainer component to the CPQ quote records.
            • In the Custom Label field, enter a name, such as Service Accounts.
            • In the Components panel, search for cpqMultisiteServiceAccountContainer
          5. Repeat above steps to add the cpqMultisiteSubscriberAccountContainer component to the CPQ quote records.
            • In the Custom Label field, enter a name, such as Subscriber Accounts.
            • In the Components panel, search for cpqMultisiteSubscriberAccountContainer.

          6. Repeat above steps to add the cpqMultisitePremisesContainer component to the CPQ quote records.
            • In the Custom Label field, enter a name, such as Premises.

            • In the Components panel, search for cpqMultisitePremisesContainer.

          7. From the Lightning App Builder, find the Default CPQ Order Record Page, and click Edit.
          8. Repeat above steps for the order records.
          9. Make the OpportunityId field visible to users.
            • From Setup, search for and open Object Manager.

            • From the objects list, open the Order object.

              The Object Manager app with order in the search and the Order object highlighted.
            • Click Fields & Relationships for Order.

            • Enter opportunity in the quick box.

              In the Fields & Relationships for the Order object the Opportunity field is highlighted. Its field name OpportunityId is highlighted, too.
            • Click the Opportunity field with the OpportunityId field name.

            • Click View Field Accessbility.

            • From the field accessibility list, select Opportunity.

              The Opportunity field is highlighted from the accessibility menu list.
            • For a profile that uses multi-site quotes and orders, click Hidden in the Group Cart column.

              In the Opportunity field accessibility list, the Group Cart column is highlighted.
            • On the Access Settings page, select Visible for the profile, and click Save.

              In the Opportunity field page, the Visible checkbox is selected, and the Save button is highlighted.

              The field is visible though it shows as Hidden for the profile.

           
          Loading
          Salesforce Help | Article