Discussion Forum: Thread 338348 |
|
|
| | Author: | BillM74 | Posted: | Apr 18, 2023 12:54 | Subject: | Need help importing XML file into collection | Viewed: | 47 times | Topic: | Technical Issues | |
|
| Hello,
I am attempting to importing my minifig collection from brickset to bricklink.
The csv file exported from brickset was not recognized so I converted the data
to an XML which should be compatible with bricklink. Here is an example of my
output:
Msw0001aUC1
Msw0001bUC1
I am receiving errors that the item ids cannot be found. The ids are clearly
there, so this error appears to be just a generic response. I'm guessing
that there is something wrong with my XML file, but it appears to align with
the current documentation. Can someone point out where I am going wrong?
Thanks!
Bill
|
|
| | | | | |
| | | | Author: | SylvainLS | Posted: | Apr 18, 2023 13:53 | Subject: | Re: Need help importing XML file into collection | Viewed: | 30 times | Topic: | Technical Issues | |
|
| In Technical Issues, BillM74 writes:
| Hello,
I am attempting to importing my minifig collection from brickset to bricklink.
The csv file exported from brickset was not recognized so I converted the data
to an XML which should be compatible with bricklink. Here is an example of my
output:
{INVENTORY}
{ITEM}{ITEMTYPE}M{/ITEMTYPE}{ITEMID}sw0001a{/ITEMID}{CONDITION}U{/CONDITION}{SUBCONDITION}C{/SUBCONDITION}{QTY}1{/QTY}{/ITEM}
{ITEM}{ITEMTYPE}M{/ITEMTYPE}{ITEMID}sw0001b{/ITEMID}{CONDITION}U{/CONDITION}{SUBCONDITION}C{/SUBCONDITION}{QTY}1{/QTY}{/ITEM}
{/INVENTORY}
I am receiving errors that the item ids cannot be found. The ids are clearly
there, so this error appears to be just a generic response. I'm guessing
that there is something wrong with my XML file, but it appears to align with
the current documentation. Can someone point out where I am going wrong?
|
Hmm, although it shouldn’t care about unneeded fields:
— there’s no subcondition for minifigs,
— maybe add a color tag (should default to 0 = Not Applicable, which is what
you want for minifigs).
Also, be sure you’re using the My Minifigures tab.
|
|
|
| | | | | | | | | |
| | | | | | Author: | BillM74 | Posted: | Apr 18, 2023 14:25 | Subject: | Re: Need help importing XML file into collection | Viewed: | 28 times | Topic: | Technical Issues | |
|
| Ah ha! Adding the color element and removing the sub-condition one appears to
have worked. I did receive an "Ajax Error" message at the end, but the
data was still loaded. FYI I also removed line breaks.
As an aside, when data is exported from the collection; I noticed that the color
element was set to -1.
Thank you for your assistance!
|
|
|
|
|
|