You are here:
Upgrade Unmanaged Components for Advertising Sales Management from Winter '24 to Spring '24
From the Spring '24 release and later, all unmanaged components are packaged as separate static resource files within the managed package. Complete these steps to upgrade from Winter '24 to Spring '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.
Before you begin,
-
Install the Alpha version of IDX Workbench. See Install IDX Workbench.
-
Download the YAML file containing the list of Advertising Sales Management core components for this release. See Upgrade Older Releases of Advertising Sales Management.
-
Maintain Advertising Sales Management Object and Field Mapping
-
Download the Advertising Sales Management Relationship Graphs.
The static resource files are as follows:
-
Media_ASM_Cards. All FlexCards related to Advertising Sales Management
-
Media_ASM_Datapacks. All Integration Procedures, OmniScripts, and other Datapacks
-
Media_ASM_DataRaptors. All Omnistudio Data Mapper related to Advertising Sales Management
-
Media_ASM_sfdx_datapacks. All metadatapreviously found under the salesforce_sfdx folder in the unmanaged repository
To set up Advertising Sales Management, complete the following steps after migrating and upgrading your org to the latest version.
- Click Settings and then Setup.
- In Quick Find search for and click Static Resources.
- Click the Media_ASM_Cards status resource file, and click View file to download the file. Complete this step for the following files: Media_ASM_Datapacks, Media_ASM_DataRaptors, and 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 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 the following code in the file.
{ "packageDirectories": [ { "path": "salesforce_sfdx", "default": true } ], "namespace": "", "sfdcLoginUrl": "https://login.salesforce.com", "sourceApiVersion": "59.0" } - In IDX Workbench, add the IDX_Workbench folder from your local system as a new repository.
- Select the newly created repository as the source.
- After you select the repository in IDX Workbench, navigate to the repository path.
- Display hidden files. On a Mac, press Command + Shift + .. On a Windows system, click View and then select Hidden Files.
- Copy the YAML file you downloaded earlier and paste them into the hidden .vlocity folder in the repository.
- Go back to IDX Workbench and click Cancel.
- Click the Edit icon 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 the Actions menu, click Migrate with Dependencies.
Note if the migration of any or more components fails, move only the failed components to Selected datapacks and migrate with dependencies again.
Deploy the components in the following order.
- Integration Procedures, Data Mapper, and Apex Classes
- Record Types, Fields, Compact Layouts, List View, and Custom Metadata
- Vlocity Picklist, Attribute Category, ObjectClass, and ObjectLayout
- Vlocity Cards
-
OmniScripts
After the migration is complete, in the Outline, Add Placement, and View Summary steps, prefix the name of the vplAdsDisplayTotalCalculatedValue and vplAdsMediaPlanOsNavigation Lightning Web Components with the namespace "Vlocity_cmt__".
- Pricing Plan, Pricebook, Pricing Variable, and Pricelist
- System, VlocityUITemplate, VlocityUILayout
- Email, report, and reportTypes
- CustomLabels, QuickActions, weblink
- FlexiPages and PageLayouts
- Tabs, Triggers, Static Resources
- OrchestrationPlanDefinition, OrchestrationItemDefinition, OrchestrationDependencyDefinition, and OrchestrationQueueAssignmentRule
- Document Template. Open the migrated template and activate it.
- Flows and Approval Process
- Deploy Workflows using the Salesforce Command Line Interface.
- Add all the attributes and Lightning Web Components in a new cards to successfully activate the card. See Activate FlexCards Post Migration for Advertising Sales Management.
- Deploy Expression Sets and Decision Matrices for Advertising Sales Management Upgrade.
- Edit Flexcard Parameters, to ensure that the parameters are in the correct sequence.
-
Set the appropriate field level security for all the fields related to the following objects:
- Ad Quote Line
- Ad Order item
- Ad Space Specification
- Ad Order Item Creative Size Type
- Ad Quote Line Creative Size Type
- Ad Demo Code
- Ad Quote Line Hiatus
- Ad Order Line Hiatus
