Copy a JS module to another tenant
Sitecore Personalize lets you copy a JS module from one tenant to another using the Copy to tenant feature. For example, you can copy a JS module from a non-production environment to a production environment. This process saves time and reduces errors from manual copying and pasting.
Team members with a User, Developer, or Admin role in Sitecore Cloud Portal can copy a JS module between tenants.
To copy a JS module to another tenant:
-
From the JS modules page, open the module you want to copy.
-
Click
> Copy to tenant.
-
Select a destination tenant from the drop-down list. The list only includes tenants you have access to. Click Go.
-
In the Copy To Tenant page, enter a unique name for the JS module. Sitecore Personalize automatically creates an ID when you name the module.
ImportantIf a draft JS module with the same name already exists in the destination tenant, to avoid conflicts, you can overwrite the JS module or create a new one with a unique name.
-
Click Create. A message appears on the page confirming that the JS module has been successfully copied. The copied module opens in the editor within the selected destination tenant.
You can either use the copy as is, or modify it as needed, without impacting the original entity.