File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1103,10 +1103,8 @@ export class CardMigrationTool extends BaseMigrationTool implements MigrationToo
11031103 mappedObject [ CardMappings . Datasource__c ] = JSON . stringify ( datasource ) ;
11041104 }
11051105
1106- if ( ! this . IS_STANDARD_DATA_MODEL ) {
1107- const isCardActive : boolean = cardRecord [ this . getFieldKey ( 'Active__c' ) ] ;
1108- this . ensureCommunityTargets ( mappedObject , isCardActive ) ;
1109- }
1106+ const isCardActive : boolean = cardRecord [ this . getFieldKey ( 'Active__c' ) ] ;
1107+ this . ensureCommunityTargets ( mappedObject , isCardActive ) ;
11101108
11111109 // Update all dependencies comprehensively
11121110 this . updateAllDependenciesWithRegistry ( mappedObject , invalidIpNames ) ;
@@ -1617,6 +1615,7 @@ export class CardMigrationTool extends BaseMigrationTool implements MigrationToo
16171615 /**
16181616 * Ensures that the FlexCard Definition includes required Lightning Community targets
16191617 * Adds "lightningCommunity__Page" and "lightningCommunity__Default" if missing
1618+ * This is needed as vlocity wrapper can have flexcard which is unpublished but omniwapper needs published card
16201619 */
16211620 private ensureCommunityTargets ( mappedObject : any , isCardActive : boolean ) : void {
16221621 if ( ! isCardActive ) {
You can’t perform that action at this time.
0 commit comments