You are here:
Upgrade Advertising Sales Management From Spring '24 to Summer '24
If you're already running Advertising Sales Management Spring '24 and want to upgrade to Advertising Sales Management Summer '24, complete the steps outlined here.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
Upgrade Summary
Upgrading Advertising Sales Management from one version to another requires careful planning. Team members who are assigned to perform the upgrade must have a deep understanding of version control, IDX Workbench, Git, and software development practices.
The Advertising Sales Management upgrade process requires that you extract and compare the new upgrade components with your existing, customized components. Git is a great tool for doing this. You can utilize the branching and pull request features of Git to directly compare new feature changes with your existing customizations. Then, using IDX Workbench, you can deploy only the changes you want to production without overwriting the things you want to keep.
Upgrade Steps
To upgrade Advertising Sales Management to Summer '24, follow these instructions carefully:
- Prepare for the Advertising Sales Management Upgrade
Before you upgrade Advertising Sales Management components, perform these steps to prepare your Salesforce org. - Download Static Resource Files for Summer '24
Download and reorganize the static resource files into folders before you can use IDX Workbench to deploy the Advertising Sales Management components to your target org. - Deploy New and Changed Components in Summer '24
Compare changes between your target org and the Summer '24 components, then deploy changes using IDX Workbench. - List of Major Changes in Advertising Sales Management Summer '24
Here are the major changes made to core components in Advertising Sales Management in Summer '24. - Understand How to Read the Summer '24 Upgrade YAML
The YAML file for an upgrade contains the list of all changed core components in Advertising Sales Management for that particular release. A YAML file lists component types, as well as individual components within each type.
Prepare for the Advertising Sales Management Upgrade
Before you upgrade Advertising Sales Management components, perform these steps to prepare your Salesforce org.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
Familiarize yourself with the Advertising Sales Management known issues regarding the use of an older version of Advertising Sales Management on the latest version of the Communications, Media, and Energy managed package.
-
Install the Alpha version of IDX
Workbench, and familiarize yourself with the process to configure IDX Workbench for
deployment between orgs.
If you're migrating from an org that was set up by using static resources, follow this documentation. However, if you're upgrading by using static resource files, then set the local repository that you extracted the static resource files into as the source in IDX Workbench.Note Salesforce recommends that you use macOS with the Alpha version of IDX Workbench.
-
Download the Advertising Sales Management Spring
'24 to Summer '24 Upgrade YAML file containing the list of all
Advertising Sales Management core components for this release.
The YAML file lists the Advertising Sales Management core components that are either new or were changed in this release.
- Download the Advertising Sales Management Summer '24 Upgrade Decision Matrix ZIP file.
Download Static Resource Files for Summer '24
Download and reorganize the static resource files into folders before you can use IDX Workbench to deploy the Advertising Sales Management components to your target org.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
- From Setup, in the Quick Find box, enter Static Resources, and then select Static Resources.
-
Click the Media_ASM_Cards static resource file, and click View file to download the file.
Similarly, download these files.
- Media_ASM_Datapacks
- Media_ASM_DataRaptors
- Media_ASM_sfdx_datapacks
- In your local system, create a folder named IDX_Workbench, and create a child folder named vlocity.
- Extract the contents of the Media_ASM_Cards ZIP file to the vlocity folder under IDX_Workbench.
- Extract the contents of the Media_ASM_Datapacks ZIP file, and merge the contents of the vlocity folder from the expanded folder with the contents of the vlocity folder under IDX_Workbench.
- Extract the contents of the Media_ASM_DataRaptors ZIP file to the vlocity folder under IDX_Workbench.
- Extract the contents of the Media_ASM_sfdx_datapacks ZIP file, and move the salesforce_sfdx folder under IDX_Workbench.
-
In the IDX_Workbench folder, create a file named sfdx-project.json, and copy this code in the file.
{ "packageDirectories": [ { "path": "salesforce_sfdx", "default": true } ], "namespace": "", "sfdcLoginUrl": "https://login.salesforce.com", "sourceApiVersion": "60.0" }
Deploy New and Changed Components in Summer '24
Compare changes between your target org and the Summer '24 components, then deploy changes using IDX Workbench.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
Before You Begin
Thoroughly compare the new and changed components for Summer '24 with your existing customizations in your production org. Salesforce recommends using the branching and pull request features of Git to perform the comparison. Take note of which changes you want to deploy, before opening IDX Workbench.
Failure to identify and select only your intended changes will result in a potential loss of important customizations you've made in Advertising Sales Management. Deploy carefully!
- Launch the IDX Workbench application, and add the IDX_Workbench folder from your local system as a new repository.
-
Select the new repository as the source.
If you're using an org that was set up by using static resources, then you can set that org as the source, and migrate components from the source org to your target org.
- Set up the org that you want to upgrade to the latest version as the target org.
- After you select the repository in IDX Workbench, go to the repository path.
- To show hidden files, on your Mac, press Command + Shift +..
- Move the YAML file that you downloaded earlier to the hidden .vlocity folder in the repository.
- Go back to IDX Workbench, and click Cancel.
- Click Edit Edit and in Configure Workspace, select the repository.
- In Project, select the YAML file that shows up in the list, and click Save.
-
In the left pane of IDX Workbench, select All changed items, and then from Actions, click Migrate with Dependencies.
Note If the migration of any component fails, move only the failed components to Selected datapacks and migrate with dependencies again.
Migrate the components in this order.
- Integration Procedures and Data Mappers
-
Vlocity Cards
Note Verify whether all the Flexcards with the prefix 'vplAds' or 'sfi' are active. If any of the Flexcards with these prefixes isn't active, then activate only those cards. If there's any error in activating the Flexcard, or if the error message indicates that there are missing dependent Flexcards, first activate the dependent Flexcard and then activate the current one.
-
OmniScripts
After the migration is complete, deactivate the vplAdsMediaPlanDetails OmniScript. In the Outline, Add Placement, and View Summary steps, for vplAdsDisplayTotalCalculatedValue and vplAdsMediaPlanOsNavigation Lightning Web Components, select the option with the namespace "vlocity_cmt__". Reactivate the OmniScript.
- Custom Labels
- Static Resources
-
Interface Implementations.
Note Activate the CpqPricingVariableCalcHook interface implementation to leverage the disable rounding off feature in your Standard Cart API enabled orgs. See Disable Rounding Off on Requested Units in the Media Planning Grid.
-
Deploy the AdSalesNodeNameToEntity expression set and the AdSalesNodeNameToEntityMap decision matrix to leverage the Summer '24 features.
See Deploy Expression Sets and Decision Matrices. You are not required to deploy older expression sets.
- To ensure that the parameters are in the correct sequence, Edit Flexcard Parameters.
- Set up Actionable Relationship Center (ARC) relationship graphs in Media Cloud.
- If necessary, enable the optimized Fetch Products feature.
- If necessary, Enable explicit pricing.
-
Ensure the mapping between the order and quote fields.
When a quote is converted to an order, the data from the quote, quote line item, and ad quote line item must be copied to the order, order line item, and ad order line item, respectively. See Maintain Advertising Sales management Object and Field Mapping.
- Set Apex Class Access from Profiles for the apex classes introduced in this release.
List of Major Changes in Advertising Sales Management Summer '24
Here are the major changes made to core components in Advertising Sales Management in Summer '24.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
Flexcards and Lightning Web Components
The sfiAdsDataGrid Lightning Web Component renders a data grid according to the specified configurations. The grid offers features such as sorting and grouping, and supports various input fields. Within the sfiAdsDataGrid Lightning Web Component, the asmColumns property enables you to edit columns by using the FlexCard Designer. With this property, you can provide your column configurations to the Lightning Web Component directly from the FlexCard.
Use the SuppressRowEdit node for column configurations to avoid triggering a pricing call when a field is updated. This is useful if you are updating several fields for a line item at a time. To disable the pricing call trigger when each field is updated, set the value of SuppressRowEdit to false.
These column datatypes are supported for column configurations.
-
picklistTextButton. This column datatype supports the price override adjustment in the one time charge or adjustment modal. The modal that opens in the UI depends on the value of the type. If the type is set to picklistTextButton, then the new adjustment modal opens, but if the type is set to picklistText, then the older adjustment modal opens.
-
typeaheadsuggest and typeaheaddatesugest. These column datatypes activate the optimized Fetch Products feature. See Enable Explicit Pricing.
Integration Procedures
These integration procedures have been updated in Summer '24.
-
sfiAds_fetchDependantFieldValues
To add columns to the media planning grid, add them as comma-separated values in the dependantFields column in the sfiAds_fetchDependantFieldValues interation procedure. For example, Ad Space Sizes and Priority are dependent on Ad Space Specification. So, to add them, you must include them as dependent fields, as shown below.
{"fieldName":"AdspaceName","label":"Ad Space(s)","Placeholder":"--","searchable":true,"sortable":true,"type":"typeahead","editable":true,"displayEditIcon":"displayEditIcon","visible":true,"userSelectable":true,"optionField":"AdspaceRecords","textAlign":"left","columnWidth":"14%","hasCellError":"hasAdSpaceError","hasSpinner":"true","disableIfTrue":"isWrapper","dependantFields":"AdspaceSizes,SelectedPriority"}Whenever a cell with dependent fields in the media planning grid is updated, the sfiAds_fetchDependantFieldValues integration procedure is invoked, and all the data that needs to be populated for the dependent fields in the grid is returned. In the example above, the configuration is parsed in the Lightning Web Component, and the integration procedure returns the picklist options to display ad space sizes and the default priority value that is configured.
-
sfiAds_ExplicitABPUpdateLineItem
When attribute-based pricing is enabled, this integration procedure is invoked when you click Calculate in the media planning grid after a line item is edited across any media type. When explicit pricing is enabled, then the integration procedure updates fields, attributes, custom fields, and custom attributes.
-
vplAds_GetCartProducts
This existing integration procedure loads digital products when the digital tab is loaded. With the optimized Fetch Products feature enabled, this integration procedure also loads digital products when you search for them from the media planning grid.
-
sfiAds_ExtractPrintProducts, sfiAds_ExtractRadioProducts, sfiAds_ExtractLinearProducts
These existing integration procedures load products for the print, radio, and TV media types when the respective tabs are loaded. With the optimized Fetch Products feature enabled, this integration procedure also loads the products when you search for them on the respective tabs on the media placement configuration pages.
Interface Implementations
AdSalesCpqPricingVariableCalcHook. In releases prior to Summer '24, when you update the number of requested units for a line item in the media placement configuration grid, the number of units was automatically rounded off to the closest multiplier of the units of measure specified for the placement. In other words, if your unit of measure was CPM, then the number of requested units is automatically rounded off to the nearest 1,000. Prices were then calculated based on the rounded-off number of units. However, with Summer '24, the AdSalesCpqPricingVariableCalcHook integration procedure eliminates the rounding off of the requested units value. The prices are now calculated based on the One Time Total, as opposed to the Requested Quantity.
See Also:
Disable Rounding Off on Requested Units in the Media Planning Grid
Custom Settings
isProductFetchServerEnabled. The isProductFetchServerEnabled custom setting is required for the optimized Fetch Products feature. See Enable the Optimized Fetch Products Feature.
Decision Matrices and Expression Sets
AdSalesNodeNameToEntity. This expression set is called from the sfiAds_ExplicitABPUpdateLineItem integration procedure. It uses the AdSalesNodeNameToEntityMap decision matrix to return the entities and fields associated with node names.
AdSalesNodeNameToEntityMap. This decision matrix is called from the AdSalesNodeNameToEntity expression set. The AdSalesNodeNameToEntityMap decision matrix has all the mappings of the UI columns to the associated entities and fields.
See Also:
AdSalesNodeNameToEntityMap Decision Matrix for Advertising Sales Management Summer '24
Apex Classes
These apex classes are new in Advertising Sales Management Summer '24.
-
SfiAdsExplicitABPUpdateHandler
-
SfiAdsExplicitABPTVUpdateSvc
-
SfiAdsExplicitABPPrintUpdateSvc
-
SfiAdsExplicitABPRadioUpdateSvc
-
SfiAdsExplicitABPCommonUpdateSvc
-
SfiAdsExplicitABPDigitalUpdateSvc
-
SfiAdsMediaChannelFetch
-
AdSalesCpqPricingVariableCalcHook
-
AdSalesPricingVariableCalc
Understand How to Read the Summer '24 Upgrade YAML
The YAML file for an upgrade contains the list of all changed core components in Advertising Sales Management for that particular release. A YAML file lists component types, as well as individual components within each type.
This is an Advertising Sales Management on Managed Package feature. For Advertising Sales
Management on Salesforce Platform, see Advertising
Sales Management on Salesforce Platform.
The Summer '24 upgrade YAML file has these components.
| Component | New or Existing Component | Description |
|---|---|---|
| DataRaptor/cardinalityValidation | Existing | This component was updated to make the quantity and requested units equal when rounding off on the requested quantity of placements is enabled. |
| DataRaptor/sfiAdsExtractAdSpecsForPrint | Existing | This component was updated to fix Omniscript failures on large numbers of products. |
| DataRaptor/sfiAdsExtractQuantityByRequestGoal | Existing | This component was updated to eliminate the rounding off on the requested quantity of placements. |
| DataRaptor/sfiAdsExtractRadioProducts | Existing | This component was updated to fix Omniscript failures on large numbers of products. |
| DataRaptor/VplAdsFetchAdspaceCreativeSizeType | Existing | This component was updated to fix missing mappings. |
| DataRaptor/sfiAdsExtractAdSpaceSpecsForPrint | Existing | This component was updated to support the optimized Fetch Products feature. A query parameter was added to filter print products. |
| DataRaptor/sfiAdsExtractRadioProducts | Existing | This component was updated to support the optimized Fetch Products feature. A query parameter was added to filter radio products. |
| IntegrationProcedure/sfiAds_AddPlacement | Existing | This component was updated to eliminate the rounding off on the requested quantity of placements. Now, the prices of placements is calculated at the fetchPagination step instead of the postCartItem call. |
| IntegrationProcedure/sfiAds_CreateMediaPlanTemplate | ||
| IntegrationProcedure/sfiAds_ExtractLinearProducts | Existing | This component was updated to support the optimized Fetch Products feature for TV products. |
| IntegrationProcedure/sfiAds_ExtractPrintProducts | Existing | This component was updated to support the optimized Fetch Products feature for print products. |
| IntegrationProcedure/sfiAds_ExtractRadioProducts | Existing | This component was updated to support the optimized Fetch Products feature for radio products. |
| IntegrationProcedure/sfiAds_PrintCloneLineItems | Existing | This component was updated as part of a bug fix involving the cloning of print placements when mandatory attributes are missing. |
| IntegrationProcedure/sfiAds_RadioCloneLineItems | Existing | This component was updated as part of a bug fix involving the cloning of radio placements when mandatory attributes are missing. |
| IntegrationProcedure/sfiAds_OfferRatePricing | Existing | This component was updated to support the price override adjustment for digital placements. |
| IntegrationProcedure/sfiAds_UpdateLinearLineItems | Existing | This component was updated to support the price override adjustment for TV ad time. |
| IntegrationProcedure/sfiAds_GetCartProducts | Existing | This component was updated to support the optimized Fetch Products feature for digital placements. |
| IntegrationProcedure/sfiAds_QuoteToOrder | ||
| IntegrationProcedure/sfiAds_SubmitQuoteForApproval | ||
| IntegrationProcedure/sfiAds_UpdateLineItems | Existing | This component was updated to eliminate the rounding off on the requested quantity of placements. |
| IntegrationProcedure/sfiAdsFetchGridFooterInformation | Existing | This component was updated to fetch the total price of the cart before applying line item discounts. |
| InterfaceImplementation/CpqPricingVariableCalcHook | New | This component helps calculate the correct total price of the cart when Standard Cart APIs are enabled in your org. |
| InterfaceImplementation/PricingVariableCalc | New | This component helps calculate the correct total price of the cart when Standard Cart APIs are disabled in your org. |
| labels/CustomLabels.labels | New | These labels were added to support the optimized Fetch Products feature. |
| OmniScript/vplAds_MediaPlanDetails_English | ||
| staticresources/adsOmniCss.resource | Existing | This component was updated to include CSS changes related to the attribute-based pricing UI, View Summary page, and the Print Issue modal. |
| VlocityCard/sfiAds_ConfigurePrintIssues | ||
| VlocityCard/sfiAdsDigitalGrid | Existing | This component was updated to support the optimized Fetch Products feature and attribute-based pricing. |
| VlocityCard/sfiAdsPrintGrid | Existing | This component was updated to support the optimized Fetch Products feature and attribute-based pricing. |
| VlocityCard/sfiAdsPrintViewSummaryPagination | Existing | This component was updated to fix bugs. |
| VlocityCard/sfiAdsRadioCalendarGrid | Existing | This component was updated to fix bugs. |
| VlocityCard/sfiAdsRadioParentGrid | Existing | This component was updated to support the optimized Fetch Products feature and attribute-based pricing. |
| VlocityCard/sfiAdsRadioViewSummaryPagination | Existing | This component was updated to remove the option for repeatable records. |
| VlocityCard/sfiAdsTvGrid | Existing | This component was updated to support the optimized Fetch Products feature and explicit pricing. |
| VlocityCard/sfiAdsTvGridChild | Existing | This component was updated to fix issues with the demographic code separator. |
| VlocityCard/vplAdsMediaTypeTabs | Existing | This component was updated to fix issues with Omnistudio Standard Runtime. |
| VlocityCard/vplAdsSelectTemplate | Existing | This component was updated to fix bugs. |
| VlocityCard/vplAdsViewSummaryTab | Existing | This component was updated to fix issues with OmniStudio Standard Runtime. |
Download the Summer '24 Upgrade YAML file. After you download the file, you can use it to identify what components you must deploy to your target org through IDX Workbench.
