Hi,
about 4-5 months ago I configured a pipeline for importing products from an xml-file. I worked perfect back then.
Now I have a new xml-file that needs importing, and the pipeline gives me this message:
Product destination XML validation error: Element 'GroupID' cannot appear more than once if content model type is "all".
As far as I read the schema "maxOccurs" is unbounded on the GroupID... Am I wrong?
This pipeline worked earlier, and the source xml is exported from the same Microsoft Access db.
Has development in the last 4-5 months made any restrictions on this area?
I need some of the products to appear in a primary group + a secondary group which shows a few products on my frontpage.
I need help in this matter... (Vitaly helped me back then)
Developer forum
E-mail notifications
IMPORT/EXPORT
Replies
Do you have products that are related to multiple groups? The product destination accepts groups as something like Groups -> Group -> Attributes.
Sorensen wrote:
Do you have products that are related to multiple groups? The product destination accepts groups as something like Groups -> Group -> Attributes.
Yes they are realted to multiple groups (some of the products that is.)
And the group part of the xml looks like this:
<ProductGroups>
<GroupID>GROUP4</GroupID>
<GroupID>GROUP7</GroupID>
</ProductGroups>
The thing is that it worked before...
Could you post the complete XML for a product, where the process behaves as you discribe, and I'll try if I receive the same error.
By the way, please make sure that you're running the latest application.
Sorensen wrote:
Could you post the complete XML for a product, where the process behaves as you discribe, and I'll try if I receive the same error.
By the way, please make sure that you're running the latest application.
Hi Lars,
The solution is hosted at Dynamicweb so could you check on the specific solution. I will send you the info on mail. Don't want the filenames etc. publicly available... :-)
It took a little while, but I think, I cracked it:)
The problem is not related to Product groups but to Related groups. In the XML you sent me, it looks like you're using product groups, right? But here you must specify the ID of the relation type created in the section described here http://manual.net.dynamicweb.dk/Default.aspx?ID=2011
<ProductRelatedGroups>
<Group>
<GroupID>RELGRP1</GroupID>
<ProductRelations>
<ProductID>PROD1</ProductID>
<ProductID>PROD2</ProductID>
</ProductRelations>
</Group>
<Group>
<GroupID>RELGRP2</GroupID>
<ProductRelations>
<ProductID>PROD3</ProductID>
</ProductRelations>
</Group>
</ProductRelatedGroups>
Does that help?
As far as I can see, this would only make it possible to relate products to each other, not a single product related to several groups.
I just took a look at the modules, and it seems to be the Assortments module that enables this functionality. I was not aware of this earlier. So I think the customer needs to buy the module to make this work again. It seems like I've used a glitch in the system without knowing it in my first import. The import now seems to check if the module is available. I will ask my contact person to activate it for a test.
The related groups are like virtual groups. You set up these groups and relate products to them. That way a product can be related to different products in different contexts and not just one dimension.
You must be logged in to post in the forum