1 Reply Latest reply on Jan 29, 2018 1:01 AM by Stefan Reinhardt

    Submodules more than 2 levels deep

    Seasoned Veteran

      In the current version it is impossible to have more then 2 levels in depth in your export.

      Is there any work-a-round ?

        • 1. Re: Submodules more than 2 levels deep
          Stefan Reinhardt Guru

          Here is a sample that may be a help?!

           

          As input the export format template takes a product assortment of which the according variants and items will be exported.

          Please note that the information of the hierarchy is not nested, hence you need a post-processing step (or external tool) which will do that. To be able to match the according hierarchy correctly, always all belonging next lower level must be exported as well.

           

          This is an example of the minimum export for following hierarchy:

           

          Product2G_1

            |

            |- Variant_1

            | |- Article_1

            | |- Article_2

            |

            |- Variant_2

           

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

          <allElements>

            <product>

          <productnumber>Product2G_1</productnumber>

              <variants>

          <variantnumber>Variant_1</variantnumber>

                <variantnumber>Variant_2</variantnumber>

              </variants>

            </product>

            <variant>

          <variantnumber>Variant_1</variantnumber>

              <items>

          <itemnumber>Article_1</itemnumber>

          <itemnumber>Article_2</itemnumber>

              </items>

            </variant>

            <variant>

          <variantnumber>Variant_2</variantnumber>

              <items/>

            </variant>

            <item>

          <itemnumber>Article_1</itemnumber>

            </item>

            <item>

          <itemnumber>Article_2</itemnumber>

            </item>

          </allElements>

           

          Cheers,

            Stefan