When you’re ready to deploy the components of Multiplay Subscription Management to a target org, you can start the migration using IDX Workbench. Use the downloaded YAML files to migrate the Salesforce and Salesforce Industries components in the sequence mentioned in the later sections.
To deploy Multiplay Subscription Management components, follow these instructions in sequence:
This feature is part of the Communications Cloud managed package.
- Migrate Salesforce Components
First, use the salesforce components 1 and community YAML files to migrate the Salesforce and Community components into your target org. - Migrate Salesforce Industries/Vlocity Components
Migrate the Vlocity, product catalog, and record alerts components to your target org. - Troubleshoot Migration
If you encounter any issues while migrating components, check these troubleshooting steps for help. - Post Migration of Salesforce Industries/Vlocity Components
Complete these post migration steps before migrating the next set of Salesforce components. - Migrate Inter-Dependent Salesforce Components
Migrate the second set of the Salesforce components using the salesforce components 2 YAML file.
Migrate Salesforce Components
First, use the salesforce components 1 and community YAML files to migrate the Salesforce and Community components into your target org.
-
Use SalesforceComponents1.project.yaml to migrate the first set of Salesforce components from source to target org.
- Load the SalesforceComponents 1 YAML file that shows up in the IDX Project list.
- Don't migrate Profiles folder components while migrating the SalesforceComponents 1 YAML file. Migrate Profiles components after all SalesforceComponents 1 YAML file components migration is done.
- Click Migrate with Dependencies.
-
Migrate flow components.
Note
Download the package.xml file and use this file to retrieve the flow components such as SFI_CreateFraudRecordAlert, SFI_NBABuyAddOn, SFI_NBACashTopUp, and SFI_NBARecommendationFlow. Use the Ant Migration Tool to migrate these flow components to your target org.
-
Before migrating the Community.project.yaml file, complete these steps:
- Load the Community yaml file in IDX Workbench.
- Select the Mobile_Subscription_Self_Service_Portal.site-meta.xml component under Sites folder on the left panel.
- Open the Comparison tab located beside the Migration tab in IDX Workbench.
- Click View Source.
- Change the <siteAdmin> and <siteGuestRecordDefaultOwner> entry to the login username of your target org.
- Also, if you find the <subdomain> entry in the IDX Comparision tab, update it to the domain name of your target org. If the <subdomain> entry is not there, skip this step. To get the domain name: From Setup, in the Quick Find box, enter My Domain, and then select My Domain.
- If there’s a server down entry like <serverIsDown>SNA_Mobile_Subscription_Self_Service_Portal1_sf_default_cdn_Iw8v5</serverIsDown>, remove this entry.
- Save your changes.
-
Use Community.project.yaml to migrate the Salesforce components required for the customer portal from source org to target org.
- Load the Community yaml file that shows up in the IDX Project list.
- Select all the components in the left pane and click Migrate with Dependencies.
Migrate Salesforce Industries/Vlocity Components
Migrate the Vlocity, product catalog, and record alerts components to your target org.
-
Use VlocityComponents.project.yaml to migrate the Salesforce Industries/Vlocity components required for MSM application from source to target org:
- Load the VlocityComponents yaml file that shows up in the IDX Project list.
-
Select the components and click Migrate with Dependencies. Migrate the components in this order: Integration Procedures and Data Mappers, then, OmniScripts and Vlocity Cards, then all remaining components.
Note Migrating these components can take a few hours.
-
Use ProductCatalog.project.yaml to migrate all the products and catalog-related artifacts:
- Load the Product Catalog yaml file listed under Project in IDX.
-
Select all the components on the left pane and click Migrate with Dependencies.
Note Sometimes product migration fails due to globalKey references or IDX config or target org configuration issues. Contact the IDX team to resolve the issue or check the IDX Troubleshooting page. You can also refer to the source org for products configuration and create them manually in the target org.
-
Use RecordAlerts.project.yaml to migrate components for the Alert feature.
- Load the Record Alerts yaml file listed under Project in IDX.
- Select all the components on the left pane and click Migrate with Dependencies.
After you migrate the Salesforce, community, Salesforce Industries, product catalog, and record alerts components to the target org, complete the post-migration tasks. See Post Migration Of SFI/Vlocity Components. If you encounter any issues while performing the migration, see Troubleshooting Migration.
Troubleshoot Migration
If you encounter any issues while migrating components, check these troubleshooting steps for help.
-
Some component migrations can take close to two hours depending on bandwidth.
-
If the component migration doesn’t progress after some time, reset the repository in IDX Workbench and try again as described in these steps:
-
Click Debug on the IDX Workbench menu bar and then click Reset Repository Data.
-
To fetch all the YAML file components, perform these steps:
-
On the Configure Workspace window, under Repository, select the repository folder.
-
Under Source, select your source org.
-
Under Target, select your target org.
-
Under Project, select the YAML file.
-
Save your changes.
-
-
Select all components and click Migrate with Dependencies.
-
-
Retry migrating the non-migrated components multiple times.
-
If you see an error on a component that says LWC activation failed, check to see if the component is available in the target org and activate the component manually.
-
If you get LWC Activation errors where dependent cards are missing, perform these steps:
-
Open IDX Workbench.
-
Click the Configure Workspace pencil icon.
-
Beside the Project field, click the Edit pencil icon and search for all the missing components.
-
Move the components from All datapacks to Selected datapacks and save your changes.
-
Click Save again to fetch the missing components and then remigrate with dependencies.
-
Post Migration of Salesforce Industries/Vlocity Components
Complete these post migration steps before migrating the next set of Salesforce components.
-
Verify OmniStudio FlexCards status:
- From the App Launcher, find and select OmniStudio FlexCards.
- Check if all the 'sfi' cards are active or not and if any of the FlexCards with 'sfi' prefix isn't active then activate only them. If there's any error in activating and if the error message indicates any missing dependent 'sfi' FlexCard, first activate that dependent FlexCard before activating the current one.
-
Activate the multi-language OmniScripts:
- From the App Launcher, find and select OmniScripts.
- Click the active version of the SFICashTopUp (Multi-Language) OmniScript.
- Click the dropdown arrow beside the Edit button. Click Open in Classic Designer.
- Click Script Configuration under the Structure section.
- Click Deactivate Version.
- Click Activate Version.
-
Repeat the previous steps for these Multi-Language OmniScripts:
-
SFIBuyAddon
-
SFIChangeNumber
-
SFIChangePersonalDetails
-
SFICheckoutAndJoin
-
SFIManageFeatures
-
SFIManageLostandStolenDevicesorSIM
-
SFIRequestSIMUnlockCode
-
SFISIMReplacement
-
SFIVoucherTopup
-
-
Add Mobile Subscription Self Service Customer profile:
- From Setup, in the Quick Find box, enter All Sites, and then select All Sites.
- Beside Mobile Subscription Self Service Portal, click Workspaces.
- Click Administration.
- Click Members.
- Under Select Profiles section, select All in the Search dropdown.
- Add Mobile Subscription Self Service Customer profile.
- Save your changes.
-
Add Knowledge user and activate Knowledge setting in the target org:
-
Add Knowledge user:
-
From Setup, in the Quick Find box, enter Users, and then select Users.
-
Beside System Administrator, click Edit.
-
Select the checkbox beside Knowledge User.
-
Save your changes.
-
-
Activate lightning knowledge setting:
-
From Setup, in the Quick Find box, enter Knowledge Settings, and then select Knowledge Settings.
-
Select the checkbox and click Enable Salesforce Knowledge.
-
Click Edit.
-
Select both checkboxes under the Lightning Knowledge Settings section.
-
Save your changes.
-
-
Add Knowledge user:
-
Upload CSV files to decision matrices. If you have an Omnistudio Managed
Package Runtime org, skip this step.
- Navigate to the MSM_sfdx_datapacks folder and extract the ‘DecisionMatrixData.zip’ file.
- From the App Launcher, find and select Decision Matrices.
-
Click the Decision Matrices list view drop-down and select
All Decision Matrices.
-
Click SFIAccessCheckMatrix.
-
On the Related tab, click SFIAccessCheckMatrix V1.
-
Click Upload CSV File.
-
Navigate to the MSM_sfdx_datapacks/DecisionMatrixData folder.
-
Select the SFIAccessCheckMatrix V1_2023-10-16 23_04_53.csv file.
-
Click Upload.
-
Click Done when the upload is complete.
-
Click Activate.
-
Go back to the Decision Matrices list.
-
Click SFIEligibilityMatrix.
-
On the Related tab, click SFIEligibilityMatrix V1.
-
Click Upload CSV File.
-
Navigate to the MSM_sfdx_datapacks/DecisionMatrixData folder.
-
Select the SFIEligibilityMatrix V1_2023-10-16 23_04_53.csv file.
-
Click Upload.
-
Click Done when the upload is complete.
-
Click Activate.
-
-
Remove Next Best Action or NBA component from the account flexi page in the source org:
- From Setup, in the Quick Find box, enter Lightning App Builder, and then select Lightning App Builder.
- Beside SFI-Account flexi page, click Edit.
- Click the blank box below the Knowledge FlexCard and click the delete icon.
Migrate Inter-Dependent Salesforce Components
Migrate the second set of the Salesforce components using the salesforce components 2 YAML file.
- Load Salesforce Components 2 yaml file in IDX.
- Select all components in the left panel and click Migrate with Dependencies.