Prepare the document for migration

  1. Open the Analytics tab.
  2. Create a new empty document.
  3. This document will be used to store the user-defined functions during the migration process.

Copy the functions

  1. Go to Edit > User defined functions. 
  2. Select the function you want to migrate.
  3. Copy the function.
  4. Select Document section.
  5. Click on Add button.
  6. Paste the function.
  7. Click Save.

Repeat these steps until all required functions have been added to the document.

Important: Copy the functions in the same order in which they appear in the source account. User-defined functions are displayed in creation order and are not automatically sorted. Recreating them in a different order may affect their organization in the destination account.

Recreate the functions in the destination account

  1. Sign in to the destination account.
  2. Open the document containing the saved functions.
  3. Copy each function from the document.
  4. Open Edit > User defined functions.
  5. Recreate the functions one by one, maintaining the original order.
The user-defined functions are now available in the destination account.