You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,4 +59,11 @@ OPTIONS
59
59
-a, --allversions migrate all versions and not
60
60
and not just the active ones.
61
61
62
+
--relatedobjects=relatedobjects Please select the type of components to
63
+
migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, or 'apex,lwc' if you want to include both types.
64
+
62
65
```
66
+
67
+
Terms:
68
+
Notwithstanding anything stated in the terms and conditions agreed between Salesforce (‘SFDC’) and you (‘Customer’), the use of the OmniStudio Migration Tool (‘Tool’) is designed to facilitate the migration and it’s going to modify your custom code and by deploying and using the Tool you hereby provide your consent to automate the migration process and enable a smooth transition. Customer shall access and use the Tool only as permitted to the Customer and shall not compromise, break or circumvent any technical processes or security measures associated with the services provided by SFDC.
69
+
The Customer agrees to hold harmless, indemnify, and defend SFDC, and its officers, directors, agents, employees, licensees, successors and assigns (collectively, the “Indemnified Parties”) against any and all damages, penalties, losses, liabilities, judgments, settlements, awards, costs, and expenses (including reasonable attorneys’ fees and expenses) to the extent arising out of or in connection with any claims related to the Customers use of the Tool or any willful misconduct, fraud or grossly negligent acts or omissions by the Customer.
Copy file name to clipboardExpand all lines: messages/assess.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,5 +28,6 @@
28
28
"errorWhileCreatingElements": "An error ocurred while saving OmniScript elements: ",
29
29
"allVersionsDescription": "Migrate all versions of a component",
30
30
"changeMessage": " %s will be changed from %s to %s",
31
-
"angularOSWarning": " Angular OmniScript will not be migrated, please convert this to LWC based Omniscript"
31
+
"angularOSWarning": " Angular OmniScript will not be migrated, please convert this to LWC based Omniscript",
32
+
"apexLwc": "Please select the type of components to migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, or 'apex,lwc' if you want to include both types."
"allVersionsDescription": "Migrate all versions of a component"
10
+
"allVersionsDescription": "Migrate all versions of a component",
11
+
"apexLwc": "Please select the type of components to migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, or 'apex,lwc' if you want to include both types."
"commandDescription": "print a greeting and your org IDs",
10
13
"namespaceFlagDescription": "The namespaced of the package",
@@ -25,5 +28,6 @@
25
28
"errorWhileActivatingCard": "Could not activate Card: ",
26
29
"errorWhileUploadingCard": "An error ocurred while uploading Card: ",
27
30
"errorWhileCreatingElements": "An error ocurred while saving OmniScript elements: ",
28
-
"allVersionsDescription": "Migrate all versions of a component"
31
+
"allVersionsDescription": "Migrate all versions of a component",
32
+
"apexLwc": "Please select the type of components to migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, or 'apex,lwc' if you want to include both types."
Logger.logger.warn(`Invalid option provided for -r: ${obj}. Valid options are apex, lwc.`);
86
+
}
87
+
}
88
+
// Ask for user consent
89
+
constconsent=awaitthis.ux.confirm(
90
+
'By proceeding further, you hereby consent to the use, accept changes to your custom code, and the accompanying terms and conditions associated with the use of the OmniStudio Migration Tool. Do you want to proceed?'
91
+
);
92
+
if(!consent){
93
+
this.ux.log('User declined consent. Aborting the process.');
94
+
}else{
95
+
constprojectPath=awaitthis.ux.prompt('Enter the project path for processing:');
0 commit comments