I'm developing a custom activity, that outputs some xml to the Product destination activity.
My problem is just that i keep getting an "Rodelementet mangler" error.
The output I set in the process method for each product looks abit like this:
<Products>
<Product>
<ProductID>UnikNumber</ProductID>
<ProductLanguageID>LANG1</ProductLanguageID>
<ProductDefaultShopID />
<ProductNumber>ProductNumber</ProductNumber>
<ProductName>ProductName</ProductName>
<ProductShortDescription />
<ProductLongDescription>LongDescription</ProductLongDescription>
<ProductStock>3</ProductStock>
<ProductStockGroupID />
<ProductWeight />
<ProductVolume />
<ProductVatGroupID />
<ProductManufacturerID />
<ProductActive>True</ProductActive>
<ProductPeriodID />
<ProductCreated />
<ProductUpdated />
<ProductType>0</ProductType>
<ProductPriceType>0</ProductPriceType>
<ProductVariantID />
<ProductImageSmall />
<ProductImageMedium />
<ProductImageLarge />
<ProductLink1 />
<ProductLink2 />
<ProductPrice></ProductPrice>
<ProductDefaultUnitID />
<ProductDefaultVariantComboID />
<ProductPriceMatrixUnit>0</ProductPriceMatrixUnit>
<ProductPriceMatrixVariant>0</ProductPriceMatrixVariant>
<ProductPriceMatrixPeriod>0</ProductPriceMatrixPeriod>
<ProductPriceMatrixMultiplePrices>0</ProductPriceMatrixMultiplePrices>
<ProductPriceMatrixQuantitySpecification />
<ProductPriceCnt>0</ProductPriceCnt>
<ProductVariantCnt>0</ProductVariantCnt>
<ProductVariantProductCnt>0</ProductVariantProductCnt>
<ProductVariantGroupCnt>0</ProductVariantGroupCnt>
<ProductRelatedCnt>0</ProductRelatedCnt>
<ProductUnitCnt>0</ProductUnitCnt>
<ProductGroups>
<GroupID>GROUP1</GroupID>
</ProductGroups>
</Product>
</Products>
What am I missing?
Best regarts
KimS
Developer forum
E-mail notifications
import/export
Posted on 03/11/2009 18:36:32
Replies
Posted on 04/11/2009 10:41:58
A fast check with the XSD file (DW7 19.0.0.4) you need to add:
to the bottom of your xml in order to have a correct Valid XML file against the schema product.xsd found in: /Admin/Module/Integration/Resources/product.xsd
<ProductVariantGroups />
<ProductRelatedGroups />
<ProductUnits />
to the bottom of your xml in order to have a correct Valid XML file against the schema product.xsd found in: /Admin/Module/Integration/Resources/product.xsd
Posted on 04/11/2009 16:59:43
Okay, I changed the xml to:
<Products>
<Product>
<ProductID>APG-CD005A</ProductID>
<ProductLanguageID>LANG1</ProductLanguageID>
<ProductDefaultShopID />
<ProductNumber>APG-CD005A</ProductNumber>
<ProductName>APG-CD005A</ProductName>
<ProductShortDescription />
<ProductLongDescription>CABLE RJ12 24V DMX/EPS/CTZ/TEC J2/SAM/AXH</ProductLongDescription>
<ProductStock>115</ProductStock>
<ProductStockGroupID />
<ProductWeight />
<ProductVolume />
<ProductVatGroupID />
<ProductManufacturerID />
<ProductActive>True</ProductActive>
<ProductPeriodID />
<ProductCreated />
<ProductUpdated />
<ProductType>0</ProductType>
<ProductPriceType>0</ProductPriceType>
<ProductVariantID />
<ProductImageSmall />
<ProductImageMedium />
<ProductImageLarge />
<ProductLink1 />
<ProductLink2 />
<ProductPrice />
<ProductDefaultUnitID />
<ProductDefaultVariantComboID />
<ProductPriceMatrixUnit>0</ProductPriceMatrixUnit>
<ProductPriceMatrixVariant>0</ProductPriceMatrixVariant>
<ProductPriceMatrixPeriod>0</ProductPriceMatrixPeriod>
<ProductPriceMatrixMultiplePrices>0</ProductPriceMatrixMultiplePrices>
<ProductPriceMatrixQuantitySpecification />
<ProductPriceCnt>0</ProductPriceCnt>
<ProductVariantCnt>0</ProductVariantCnt>
<ProductVariantProductCnt>0</ProductVariantProductCnt>
<ProductVariantGroupCnt>0</ProductVariantGroupCnt>
<ProductRelatedCnt>0</ProductRelatedCnt>
<ProductUnitCnt>0</ProductUnitCnt>
<ProductGroups>
<GroupID>GROUP1</GroupID>
</ProductGroups>
<ProductVariantGroups />
<VariantCombinations />
<ProductRelatedGroups />
<ProductUnits />
<ProductCustomFields>
<Field>
<FieldName>MANUFACTURERPART</FieldName>
<FieldSystemName>MANUFACTURERPART</FieldSystemName>
<FieldTagName>MANUFACTURERPART</FieldTagName>
<FieldTypeID>1</FieldTypeID>
<FieldTypeName>Tekst (255)</FieldTypeName>
<FieldValue>123</FieldValue>
</Field>
</ProductCustomFields>
</Product>
</Products>
Now it just returns the error:
Produkt destination Error restoring temporary tables: TEST
Any help would be appreciated.
KimS
<Products>
<Product>
<ProductID>APG-CD005A</ProductID>
<ProductLanguageID>LANG1</ProductLanguageID>
<ProductDefaultShopID />
<ProductNumber>APG-CD005A</ProductNumber>
<ProductName>APG-CD005A</ProductName>
<ProductShortDescription />
<ProductLongDescription>CABLE RJ12 24V DMX/EPS/CTZ/TEC J2/SAM/AXH</ProductLongDescription>
<ProductStock>115</ProductStock>
<ProductStockGroupID />
<ProductWeight />
<ProductVolume />
<ProductVatGroupID />
<ProductManufacturerID />
<ProductActive>True</ProductActive>
<ProductPeriodID />
<ProductCreated />
<ProductUpdated />
<ProductType>0</ProductType>
<ProductPriceType>0</ProductPriceType>
<ProductVariantID />
<ProductImageSmall />
<ProductImageMedium />
<ProductImageLarge />
<ProductLink1 />
<ProductLink2 />
<ProductPrice />
<ProductDefaultUnitID />
<ProductDefaultVariantComboID />
<ProductPriceMatrixUnit>0</ProductPriceMatrixUnit>
<ProductPriceMatrixVariant>0</ProductPriceMatrixVariant>
<ProductPriceMatrixPeriod>0</ProductPriceMatrixPeriod>
<ProductPriceMatrixMultiplePrices>0</ProductPriceMatrixMultiplePrices>
<ProductPriceMatrixQuantitySpecification />
<ProductPriceCnt>0</ProductPriceCnt>
<ProductVariantCnt>0</ProductVariantCnt>
<ProductVariantProductCnt>0</ProductVariantProductCnt>
<ProductVariantGroupCnt>0</ProductVariantGroupCnt>
<ProductRelatedCnt>0</ProductRelatedCnt>
<ProductUnitCnt>0</ProductUnitCnt>
<ProductGroups>
<GroupID>GROUP1</GroupID>
</ProductGroups>
<ProductVariantGroups />
<VariantCombinations />
<ProductRelatedGroups />
<ProductUnits />
<ProductCustomFields>
<Field>
<FieldName>MANUFACTURERPART</FieldName>
<FieldSystemName>MANUFACTURERPART</FieldSystemName>
<FieldTagName>MANUFACTURERPART</FieldTagName>
<FieldTypeID>1</FieldTypeID>
<FieldTypeName>Tekst (255)</FieldTypeName>
<FieldValue>123</FieldValue>
</Field>
</ProductCustomFields>
</Product>
</Products>
Now it just returns the error:
Produkt destination Error restoring temporary tables: TEST
Any help would be appreciated.
KimS
Posted on 04/11/2009 17:29:51
Hi Kim,
This is related to bug 3932 scheduled for 19.0.1.0. Please contact Service Desk for an ETA on this release. We apologize for the inconvenience.
/Lars
This is related to bug 3932 scheduled for 19.0.1.0. Please contact Service Desk for an ETA on this release. We apologize for the inconvenience.
/Lars
You must be logged in to post in the forum