Remedy - Migrator - CLI command: Is it possible to migrate a single field or specific amount of fields from a form instead of migrating the whole form?

Version 3
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    AR System


    APPLIES TO:

    Remedy AR System Migrator CLI command



    QUESTION:

    In the example Instruction xml of Remedy Migrator located in the installation directory (Migration Instructions.xml) there is this portion:
    ........................
    <instruction enabled="true" name="example"> 
    <object-instructions type="specified"> 
    <!-- If all is used then there is no need to add any children and all is the default--> 
    <objects type="Form" enabled="true" mode="specified"> 
    <object name="User"/> 
    <object name="AR System Form" destination-name="Different Name"/> 
    </objects> 
    <!-- fields and views can use the parent attribute and the name is the ID of the field or view --> 
    <objects type="Field" source-parent="User" enabled="true" mode="all"/> 
    <objects type="View" source-parent="User" destination-parent="Group" enabled="true" mode="specified"> 
    <object name="1"/> 
    </objects> 
    <objects type="Active Link" enabled="true" mode="all"/> 
    <objects type="Filter" enabled="true" mode="all"/> 
    <objects type="Escalation" enabled="true" mode="all"/> 
    ........................


    Looks to be possible using an instruction file only to migrate chosen fields of a form (not the whole form) but it is not clear how can this be accomplished.
    Is it possible to migrate only some fields of a form using an instruction file and Migrator CLI ?


    ANSWER:

    It is possible to use a XML instruction file with CLI to migrate just specific amount of fields from a form.

    In the XML file for example the following can be set:
    ..............
    <object-instructions type="specified">
    <objects type="Field" enabled="true" source-parent="ExampleForm" mode="specified">
    <object name="536870914"/>
    </objects>
    ..............

    Attached to this article there is a XML example file with the above information provided.

    Then when running the CLI command the following parameters options can be used taking into account your own information:
    ..........................
    .....    -m -s <source> -d <destination>--dst_tcpport 0 --dst_rpcport 390600 -u Demo -p "" -i fieldMigration.xml -g "C:\Program Files\BMC Software\Migrator\migrator\Migrator Configuration.xml"
    ..........................


    Article Number:

    000145366


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles