2 Replies Latest reply on Dec 6, 2017 1:45 AM by Marek Ceizel

    Remedy Migrator - Object Migration on Fields level

    Marek Ceizel

      Hi together,

       

       

      Is there a way to do Object Migration with MigratorCLI (so from command line) and migrate only defined fields from a form ?

      I know the configuration xml structure but there is it possible to define only form names.

       

      Or did I miss some news in latest version ?

       

      thanks a lot

       

      best regards

      Marek

        • 1. Re: Remedy Migrator - Object Migration on Fields level
          Marek Ceizel

          I found this example xml which came with installation: Migration Instructions.xml

           

          <instructions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Migration Instructions.xsd">

          <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"/>

          <objects type="Active Link Guide" enabled="true" mode="all"/>

           

          From what I see it should be possible to migrate only some fields or views of a form using command line.....

           

          regards

          Marek

          • 2. Re: Remedy Migrator - Object Migration on Fields level
            Marek Ceizel

            I'm not sure what did I wrong when I tried to migrate only fields using the example above. However after discussion with support I managed to migrate only fields using the xml and MigratorCLI. Here is a Example:

             

            <?xml version="1.0" encoding="UTF-8"?>

            <instructions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Migration Instructions.xsd">

            <instruction enabled="true" name="fieldMigration">

            <object-instructions type="specified">

            <objects type="Field" enabled="true" source-parent="ExampleForm" mode="specified">

            <object name="536870914"/>

            </objects>

            </object-instructions>

            </instruction>

            </instructions>

             

            So this will migrate only field 536870914 of form ExampleForm from source server to destination server (the same form name).

            Thanks for support to support

             

            regards

            Marek