Loading
Connect in real time with the Trailblazer Community in Slack Open BetaRead More
Media Cloud
Configure Side Panel Line Item Details for Term-Based Products

Configure Side Panel Line Item Details for Term-Based Products

Configure the side panel so that sales reps see the right information for a term-based product's line item. Set the fields on the Line Item Details tab, such as start date, subscription term, and billing frequency, and use the Attributes tab to show the product's attributes.

Required Editions

User Permissions Needed
To create an ad availability view configuration record: Media Cloud Designer
  1. From the App Launcher, find and select Ad Availability View Configurations.
  2. On the ad availability view configurations records page, click New.
  3. Create a record with these details:
    Configuration Type Tab
    Is Active Yes
    Media Type Subscription Services
    Configuration Key sidepanel-lineitemdetails
  4. Add the configuration value as shown in this sample snippet:
    {
      "tabsData": {
        "content": [
          {
            "section": {
              "label": "Product",
              "isVisible": true,
              "key": "Product",
              "isCollapsed": false,
              "fields": [
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "Product2.Family",
                  "isReadOnly": true,
                  "datatype": "String"
                },
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "Product2.Name",
                  "isReadOnly": true,
                  "datatype": "String"
                },
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "Product2.Description",
                  "isReadOnly": true,
                  "datatype": "String"
                },
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "StartDate",
                  "isReadOnly": false,
                  "datatype": "Date",
                  "mappedContextAttributeName": "StartDate"
                },
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "StartTime",
                  "isReadOnly": false,
                  "datatype": "Time",
                  "mappedContextAttributeName": "StartTime"
                },
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "EndDate",
                  "isReadOnly": false,
                  "datatype": "Date",
                  "mappedContextAttributeName": "EndDate"
                },
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "EndTime",
                  "isReadOnly": false,
                  "datatype": "Time",
                  "mappedContextAttributeName": "EndTime"
                }
              ]
            }
          },
          {
            "section": {
              "label": "Pricing",
              "isVisible": true,
              "key": "Pricing",
              "isCollapsed": false,
              "fields": [
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "Quantity",
                  "isReadOnly": false,
                  "isRequired": true,
                  "datatype": "Double",
                  "mappedContextAttributeName": "Quantity"
                },
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "NetUnitPrice",
                  "isReadOnly": true,
                  "isRequired": true,
                  "datatype": "Currency"
                },
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "StartDate",
                  "isReadOnly": false,
                  "isRequired": true,
                  "datatype": "Date",
                  "mappedContextAttributeName": "StartDate"
                },
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "SubscriptionTerm",
                  "isReadOnly": false,
                  "isRequired": false,
                  "datatype": "Double",
                  "mappedContextAttributeName": "SubscriptionTerm"
                },
               {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "PricingTermCount",
                  "isReadOnly": true,
                  "isRequired": false,
                  "datatype": "Double"
                },
               {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "PricingTerm",
                  "isReadOnly": true,
                  "isRequired": true,
                  "datatype": "Double"
                },
               {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "PricingTermUnit",
                  "isReadOnly": true,
                  "isRequired": true,
                  "datatype": "String"
                },
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "BillingFrequency",
                  "isReadOnly": true,
                  "isRequired": true,
                  "datatype": "Picklist"
                },
                {
                  "entityName": "QuoteLineItem",
                  "fieldApiName": "NetTotalPrice",
                  "isReadOnly": true,
                  "isRequired": true,
                  "datatype": "Currency"
                },
                {
                  "entityName": "AdQuoteLine",
                  "fieldApiName": "Budget",
                  "isReadOnly": true,
                  "isRequired": true,
                  "datatype": "Currency",
                  "mappedContextAttributeName": "Budget"
                }
              ]
            }
          }
        ]
      }
    }
  5. Save your changes.
 
Loading
Salesforce Help | Article