Modify Layout Session Variables to Display Enterprise Sales Management UI Changes (Managed Package)

Clone and modify the b2bSampleApp card to display changes you make to your Enterprise Sales Management UI.

Managed Package Icon This feature is part of the Communications Cloud managed package.

In the b2bSampleApp card, the Layout Session Variables section contains the session variables used for passing input to the LWCs for fetching data or for table column configuration.

Here's what each of these session variables is used for.

Session Variable Name

Session Variable Nodes

LWC

Usage

b2bOfferConfig

fields 

APIConfig

b2bOfferConfig

The fields node passes the pricing column names in the Configure Cart screen. 

addProductToCart: consumes the APIConfig node and fields node data for adding products to the working cart.

updateLineItem: consumes the APIConfig node and fields node data for updating the line items to the working cart.

deleteLineItem: consumes the APIConfig node and fields node data for deleting the line items in the working cart.

b2bProductItem

None

b2bProductItem

Not used.

b2bItemsList

APIConfig

b2bItemsList

Passes input to create the working cart input object.

createWorkingCart: consumes the APIConfig node data for creating a working cart.

getCartProducts: consumes the APIConfig node data for fetching offers to add to the working cart.

b2bCategoriesList

APIConfig

b2bCategoriesList

Passes the input fields required to get offer catalogs.

getCatalogs: consumes the APIConfig node data for getting the offer catalog.

b2bQuoteSummaryConfig

columnMap

groupMap

b2bQuoteSummary

b2bQuoteSummary: consumes the columnMap and groupMap to get the data table columns configured.

b2bCartSummaryProposal

None

b2bCartSummary

Passes the proposal generation URL.

b2bOrderSummaryConfig

columnMap

groupMap

b2bQuoteSummary

Customizes the Summary tab of the Enterprise Order Page.

b2bQuoteSummary: consumes the columnMap and groupMap to get the data table columns configured.