| Colin Bowern 2006-11-07, 1:22 am |
| Addresses is definitely a dictionary collection. You might want to try and
upgrade to the RTM StarterSite as there might have been a bug in there. In
addition you can use the XmlTracer to dump the contents of the order form to
see if it is in fact being stored as a SimpleList.
Cheers,
Colin
--
The group is moving! Check out Commerce Server discussion forums on MSDN:
http://forums.microsoft.com/msdn/de...id=294&SiteID=1
For more on my experiences with Commerce Server:
http://colin.rockstarguys.com
"DanielG" <DanielG@discussions.microsoft.com> wrote in message
news:8A764C7A-9D20-4D26-9BE1-9F1BC45CECF5@microsoft.com...
> I've been trying to access the order address collection through the
> pipeline
> system, and I think that there may have been an error in the original
> OrderPiplineMappings.xml from the StarterSite CTP The original file
> defines
> the address collection like this.
>
> <Class Name="OrderForm">
> <Collection Name="Addresses" DictionaryKey="Addresses"
> KeyType="Dictionary" ReferTo="OrderAddress" />
> </Class>
>
> I am unable to access the addresses collection like this but if I change
> it
> to...
>
> <Collection Name="Addresses" DictionaryKey="Addresses"
> KeyType="SimpleList"
> ReferTo="OrderAddress" />
>
> Things work fine. Is this a bug with the original file from the Starter
> Site CTP or am I just doing things wrong?
>
> Thanks
|