Importing more than 10 custom fields<p> I am trying to convert Excel data into Microsoft Expression data.<br><br>I have developed a small Excel tool that creates XML for importing.<br><br>It works perfectly provided the number of custom fields is less than 10.<br><br>When the number of custom fields exceeds 10 the values of the fields are imported correctly.<br><br>I noticed when I have a catologue with 11 fields which I then export and import, I also have the same issue (i.e. that the values of the custom fields are not preserved).</p> <p>Any advice on how to import more than 10 custom fields?</p><hr size="1" align="left" width="25%">Jonathan© 2009 Microsoft Corporation. All rights reserved.Fri, 26 Jun 2009 12:39:04 Z62f02e46-ab18-425b-a63f-d1d3be476da0http://social.expression.microsoft.com/Forums/en-US/media/thread/62f02e46-ab18-425b-a63f-d1d3be476da0#62f02e46-ab18-425b-a63f-d1d3be476da0http://social.expression.microsoft.com/Forums/en-US/media/thread/62f02e46-ab18-425b-a63f-d1d3be476da0#62f02e46-ab18-425b-a63f-d1d3be476da0Jonathan Palmer WCShttp://social.expression.microsoft.com/Profile/en-US/?user=Jonathan%20Palmer%20WCSImporting more than 10 custom fields<p> I am trying to convert Excel data into Microsoft Expression data.<br><br>I have developed a small Excel tool that creates XML for importing.<br><br>It works perfectly provided the number of custom fields is less than 10.<br><br>When the number of custom fields exceeds 10 the values of the fields are imported correctly.<br><br>I noticed when I have a catologue with 11 fields which I then export and import, I also have the same issue (i.e. that the values of the custom fields are not preserved).</p> <p>Any advice on how to import more than 10 custom fields?</p><hr size="1" align="left" width="25%">JonathanThu, 15 May 2008 13:08:03 Z2008-05-15T13:08:03Zhttp://social.expression.microsoft.com/Forums/en-US/media/thread/62f02e46-ab18-425b-a63f-d1d3be476da0#4adcf2b2-b940-49ec-b55c-379179d2e571http://social.expression.microsoft.com/Forums/en-US/media/thread/62f02e46-ab18-425b-a63f-d1d3be476da0#4adcf2b2-b940-49ec-b55c-379179d2e571Anita Oakleyhttp://social.expression.microsoft.com/Profile/en-US/?user=Anita%20OakleyImporting more than 10 custom fields<p> Hello Jonathan,</p> <p>I don't have your Excel tool, of course, but when I export through Make XML data file, and then import into a new catalog, I'm not seeing a problem with the values in my custom fields. Is that how you exported/imported?<br><br></p><hr size="1" align="left" width="25%">Regards, Anita OakleyThu, 15 May 2008 21:29:57 Z2008-05-15T21:29:57Zhttp://social.expression.microsoft.com/Forums/en-US/media/thread/62f02e46-ab18-425b-a63f-d1d3be476da0#00a444e8-71a6-4e0d-89c4-3dabf6e3eb9ahttp://social.expression.microsoft.com/Forums/en-US/media/thread/62f02e46-ab18-425b-a63f-d1d3be476da0#00a444e8-71a6-4e0d-89c4-3dabf6e3eb9aian.whttp://social.expression.microsoft.com/Profile/en-US/?user=ian.wImporting more than 10 custom fields Anita,<br><br>There is a bug in xMedia2 that has been present since at least MediaPro v3.  I reported it to the iView Support Team in September 2007 and it was logged under ticket #2007090710000011.<br><br>To see the problem you need to create a catalogue with a single image.  Now add the 16 allowed custom fields.  To see this better you should number the fields e.g. Custom01, Custom02 through to Custom16.  Note the leading zeroes!  Against each of these custom fields I have assigned a value that is also numbered.  Against Custom01 is a value of Test01, through to Custom16 being Test16.<br><br>Assign the image to all these custom fields and then save the catalog.  Now export it to XML.  In the XML you will have at the top a list of the custom fields:<br><br> <div style="border-right:#7f9db9 1px solid;border-top:#7f9db9 1px solid;font-size:11px;overflow:auto;border-left:#7f9db9 1px solid;line-height:100%! important;border-bottom:#7f9db9 1px solid;font-family:Courier New;background-color:white"> <table style="border-top-width:0px;border-left-width:0px;margin:2px 0px;width:99%;border-bottom:#eee 0px solid;border-collapse:collapse;background-color:#fff;border-right-width:0px" cellspacing=0 cellpadding=0> <colgroup> <col style="padding-left:10px;font-size:11px;border-bottom:#f7f7f7 1px solid;font-family:Courier New;white-space:nowrap"> <tbody> <tr> <td><font style="font-size:11px"></font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldList</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom01</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom02</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom03</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom04</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom05</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom06</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom07</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom08</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom09</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom10</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom11</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom12</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom13</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom14</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom15</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px">Custom16</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldDefinition</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7"></font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFieldList</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr></tbody></table></div><br>Then against the image you will have the links between the image and the custom fields i.e.<br><br> <div style="border-right:#7f9db9 1px solid;border-top:#7f9db9 1px solid;font-size:11px;overflow:auto;border-left:#7f9db9 1px solid;line-height:100%! important;border-bottom:#7f9db9 1px solid;font-family:Courier New;background-color:white"> <table style="border-top-width:0px;border-left-width:0px;margin:2px 0px;width:99%;border-bottom:#eee 0px solid;border-collapse:collapse;background-color:#fff;border-right-width:0px" cellspacing=0 cellpadding=0> <colgroup> <col style="padding-left:10px;font-size:11px;border-bottom:#f7f7f7 1px solid;font-family:Courier New;white-space:nowrap"> <tbody> <tr> <td><font style="font-size:11px"></font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFields</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_1</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test01</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_1</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_2</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test02</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_2</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_3</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test03</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_3</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_4</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test04</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_4</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_5</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test05</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_5</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_6</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test06</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_6</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_7</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test07</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_7</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_8</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test08</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_8</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_9</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test09</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_9</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_10</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test10</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_10</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_11</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test11</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_11</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_12</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test12</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_12</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_13</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test13</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_13</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_14</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test14</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_14</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_15</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test15</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_15</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_16</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test16</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_16</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7"></font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFields</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr></tbody></table></div><br>Close the current catalog and use the import XML function to create a new version of the catalog.  Once you display the custom fields you will see the problem.  Against Custom01 is Test01.  However against Custom02 is Test10.  Custom03 is Test11 through to Custom08 being Test16.  At this point Custom09 is Test02 through to Custom16 being Test09.  If you export this 'new' catalog to XML the UserFieldList is as before.  However the UserFields against the image show the incorrect order as:<br><br> <div style="border-right:#7f9db9 1px solid;border-top:#7f9db9 1px solid;font-size:11px;overflow:auto;border-left:#7f9db9 1px solid;line-height:100%! important;border-bottom:#7f9db9 1px solid;font-family:Courier New;background-color:white"> <table style="border-top-width:0px;border-left-width:0px;margin:2px 0px;width:99%;border-bottom:#eee 0px solid;border-collapse:collapse;background-color:#fff;border-right-width:0px" cellspacing=0 cellpadding=0> <colgroup> <col style="padding-left:10px;font-size:11px;border-bottom:#f7f7f7 1px solid;font-family:Courier New;white-space:nowrap"> <tbody> <tr> <td><font style="font-size:11px"></font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFields</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_1</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test01</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_1</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_2</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test10</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_2</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_3</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test11</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_3</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_4</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test12</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_4</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_5</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test13</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_5</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_6</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test14</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_6</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_7</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test15</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_7</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_8</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test16</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_8</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_9</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test02</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_9</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_10</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test03</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_10</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_11</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test04</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_11</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_12</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test05</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_12</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_13</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test06</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_13</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_14</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test07</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_14</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_15</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test08</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_15</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField_16</font><font style="color:blue">&gt;</font><font style="font-size:11px">Test09</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField_16</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7"></font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFields</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr></tbody></table></div><br>As I suggested when logging this bug 9 months ago it is probably a 'sorting' issue.  This is because UserField_10 comes between UserField_1 and UserField_2.  If the XML field names had included leading zeroes the problem may not have occured, although not knowing how xMedia works under the bonnet I cannot be sure.<br><br>I use XML extensively at work and hard-wiring field numbers into element names is extremely poor design.  The field number should be an attribute or even replaced by the field name e.g.<br><br> <div style="border-right:#7f9db9 1px solid;border-top:#7f9db9 1px solid;font-size:11px;overflow:auto;border-left:#7f9db9 1px solid;line-height:100%! important;border-bottom:#7f9db9 1px solid;font-family:Courier New;background-color:white"> <table style="border-top-width:0px;border-left-width:0px;margin:2px 0px;width:99%;border-bottom:#eee 0px solid;border-collapse:collapse;background-color:#fff;border-right-width:0px" cellspacing=0 cellpadding=0> <colgroup> <col style="padding-left:10px;font-size:11px;border-bottom:#f7f7f7 1px solid;font-family:Courier New;white-space:nowrap"> <tbody> <tr> <td><font style="font-size:11px"></font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFields</font><font style="color:blue">&gt;</font><font style="font-size:11px">    </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField </font><font style="color:red">number</font><font style="font-size:11px">=</font><font style="color:blue">&quot;1&quot;</font><font style="font-size:11px">&gt;Test01</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField </font><font style="color:red">number</font><font style="font-size:11px">=</font><font style="color:blue">&quot;2&quot;</font><font style="font-size:11px">&gt;Test02</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7"></font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFields</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr></tbody></table></div><br>or<br><br> <div style="border-right:#7f9db9 1px solid;border-top:#7f9db9 1px solid;font-size:11px;overflow:auto;border-left:#7f9db9 1px solid;line-height:100%! important;border-bottom:#7f9db9 1px solid;font-family:Courier New;background-color:white"> <table style="border-top-width:0px;border-left-width:0px;margin:2px 0px;width:99%;border-bottom:#eee 0px solid;border-collapse:collapse;background-color:#fff;border-right-width:0px" cellspacing=0 cellpadding=0> <colgroup> <col style="padding-left:10px;font-size:11px;border-bottom:#f7f7f7 1px solid;font-family:Courier New;white-space:nowrap"> <tbody> <tr> <td><font style="font-size:11px"></font><font style="color:blue">&lt;</font><font style="font-size:11px">UserFields</font><font style="color:blue">&gt;</font><font style="font-size:11px">    </font></td></tr> <tr> <td style="background-color:#f7f7f7">    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField </font><font style="color:red">name</font><font style="font-size:11px">=</font><font style="color:blue">&quot;Custom01&quot;</font><font style="font-size:11px">&gt;Test01</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td>    </font><font style="color:blue">&lt;</font><font style="font-size:11px">UserField </font><font style="color:red">name</font><font style="font-size:11px">=</font><font style="color:blue">&quot;Custom02&quot;</font><font style="font-size:11px">&gt;Test02</font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserField</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr> <tr> <td style="background-color:#f7f7f7"></font><font style="color:blue">&lt;/</font><font style="font-size:11px">UserFields</font><font style="color:blue">&gt;</font><font style="font-size:11px"> </font></td></tr></tbody></table></div><br>This would allow the number of custom fields, at least from the XML point of view, to be limitless.<br><br>I hope this explains the problem.  I look forward to a solution!<br><br><br><br>Jonathan,<br><br>For your Excel script it may be possible to &quot;fix&quot; this problem by messing up the order of fields in the output so that they match what xMedia can handle i.e. against UserField_2 is the value for UserField_10 and so on.  If this works then it's a horrible workaround, but may be better than other options.  It will be messy if your script has to handle a variable number of custom fields.<br><br><br>Regards,<br><br>IanThu, 15 May 2008 22:55:42 Z2008-05-15T22:55:42Zhttp://social.expression.microsoft.com/Forums/en-US/media/thread/62f02e46-ab18-425b-a63f-d1d3be476da0#fa48c500-6f47-4de8-b84d-df63a546225ahttp://social.expression.microsoft.com/Forums/en-US/media/thread/62f02e46-ab18-425b-a63f-d1d3be476da0#fa48c500-6f47-4de8-b84d-df63a546225aGerrthttp://social.expression.microsoft.com/Profile/en-US/?user=GerrtImporting more than 10 custom fieldsDear Jonathan,<br/> <br/> could you possibly, in some way, help me out with this tool? I have a Excel sheet, that I would like to make a catalogue of. I have looked at a way to make it into XML, but my knowledge of XML-tools is too limited.<br/> <br/> Gerrit Netten,<br/> Amsterdam<br/>Fri, 26 Jun 2009 12:39:03 Z2009-06-26T12:39:03Z