Skip to main content
Adaptive Planning
Last Updated: 2025-11-14
Move scripts from one On-Prem Data Connector to another

Move scripts from one On-Prem Data Connector to another

Question

How can I transfer scripts from one On-Prem Data Connector to another?

Answer

Sometimes you may find yourself in a position where you have created a new On-Prem Data Connector and you would like to transfer scripts that are associated with a previous On-Prem Data Connector to be associated with the newly created On-Prem Data Connector. You can transfer those scripts by following the steps below:
This is a fairly advanced process that should only be performed by an individual with working knowledge of the On-Prem Data Connector and the server where the On-Prem Data Connector Manager is installed.
  1. Open the
    Adaptive Script Editor
    Open Adaptive Script Editor.png
  2. Enter your Adaptive credentials.
  3. Select your Adaptive instance code from the
    Active Tenant
    dropdown menu.
  4. Select the On-Prem Data Connector with the scripts you want to copy (OPDC 1) from the
    Select Active OPDC
    menu. This will download the scripts stored in this connector.
  5. Select the connector that you want to copy the scripts to (OPDC 2) from the
    Select Active OPDC
    menu.
  6. Go to
    C:\Users\
    <user you are logged in as>
    \Adaptive Agents\
    <instance code>
    \DataSources\CustomDataSources
    • In this location, there will be folders for every agent in the Adaptive instance that you accessed from the Adaptive Script Editor on that computer.
    • Every folder will have a name like
      AgentTemplate_XXXXX_
      , where XXXXX is an internal ID number for the OPDC. To find out which folder corresponds to each OPDC, open the folder (e.g.,
      AgentTemplate_XXXXX_
      ) and then open the
      agent.config.xml
      file within. This XML file will have a
      <displayName>
      node that shows the display name for this OPDC.
      AgentTemplate Folders.png
  7. Go to
    C:\Users\
    <user you are logged in as>
    \Adaptive Agents\
    <instance code>
    \DataSources\CustomDataSources\
    <OPDC 1 ID>
    \Repository
    and copy the scripts in this folder.
  8. Go to
    C:\Users\
    <user you are logged in as>
    \Adaptive Agents\
    <instance code>
    \DataSources\CustomDataSources\
    <OPDC 2 ID>
    \Repository
    and paste the scripts into this folder.
  9. In the Adaptive Script Editor, click
    Publish OPDC Changes
    .
  10. Log in to your Adaptive Insights instance and go to
    Integration > Data Designer > Data Sources.
    For each scripted data source
    ,
    select the <new OPDC> as the OPDC and select the script to use as the entry point for the data source.