Loading
The Trailblazer Community is now read-only Read More
Media Cloud
Upgrade Unmanaged Components for Advertising Sales Management from Winter '24 to Spring '24

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.

Managed Package Icon 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,

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.

  1. Click Settings and then Setup.
  2. In Quick Find search for and click Static Resources.
  3. 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.
  4. In your local system, create a folder named IDX_Workbench, and create a child folder named vlocity.
  5. Extract the contents of the Media_ASM_Cards ZIP file to the vlocity folder under IDX_Workbench.
  6. 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.
  7. Extract the contents of the Media_ASM_DataRaptors ZIP file to the vlocity folder under IDX_Workbench.
  8. Extract the contents of the Media_ASM_sfdx_datapacks ZIP file, and move the salesforce_sfdx folder under IDX_Workbench.
  9. 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"
    }
  10. In IDX Workbench, add the IDX_Workbench folder from your local system as a new repository.
  11. Select the newly created repository as the source.
  12. After you select the repository in IDX Workbench, navigate to the repository path.
  13. Display hidden files. On a Mac, press Command + Shift + .. On a Windows system, click View and then select Hidden Files.
  14. Copy the YAML file you downloaded earlier and paste them into the hidden .vlocity folder in the repository.
  15. Go back to IDX Workbench and click Cancel.
  16. Click the Edit icon and in Configure Workspace, select the repository.
  17. In Project, select the YAML file that shows up in the list, and click Save.
  18. In the left pane of IDX Workbench, select All changed items, and then from the Actions menu, click Migrate with Dependencies.
    Note
    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.

    1. Integration Procedures, Data Mapper, and Apex Classes
    2. Record Types, Fields, Compact Layouts, List View, and Custom Metadata
    3. Vlocity Picklist, Attribute Category, ObjectClass, and ObjectLayout
    4. Vlocity Cards
    5. 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__".
    6. Pricing Plan, Pricebook, Pricing Variable, and Pricelist
    7. System, VlocityUITemplate, VlocityUILayout
    8. Email, report, and reportTypes
    9. CustomLabels, QuickActions, weblink
    10. FlexiPages and PageLayouts
    11. Tabs, Triggers, Static Resources
    12. OrchestrationPlanDefinition, OrchestrationItemDefinition, OrchestrationDependencyDefinition, and OrchestrationQueueAssignmentRule
    13. Document Template. Open the migrated template and activate it.
    14. Flows and Approval Process
  19. Deploy Workflows using the Salesforce Command Line Interface.
  20. 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.
  21. Deploy Expression Sets and Decision Matrices for Advertising Sales Management Upgrade.
  22. Edit Flexcard Parameters, to ensure that the parameters are in the correct sequence.
  23. Set the appropriate field level security for all the fields related to the following objects:
    1. Ad Quote Line
    2. Ad Order item
    3. Ad Space Specification
    4. Ad Order Item Creative Size Type
    5. Ad Quote Line Creative Size Type
    6. Ad Demo Code
    7. Ad Quote Line Hiatus
    8. Ad Order Line Hiatus
 
Loading
Salesforce Help | Article