Quantcast
Viewing all articles
Browse latest Browse all 379

WD-Functions: GetXMLObject, GetToXML (serializing collections to xml)

Hi there,

 

i'm working on some object-dependent references (InsertShoppingCart) to add, change, or delete some data in the system.

 

Therefore, i copied the component "VI_UNS_RequestNewGroup" and made my changes.

 

Now i'm thinking about giving the data into the ShoppingCartItem-object.

 

Currently I put pipe-separated data in the field OrderDetail1 (like in Version 5.1 the references for AD-Groups did) which works fine for Single-row collections.

 

But i also a have Custom schema collection with more than one row.

 

After some research i found the functions "GetXMLObject" and "GetToXML" and i think this is exactly what i'm looking for (serializing a collection in a xml-schema).

 

But i don't now how to Use the functions.

 

Could you tell me how to use the function(s) or is there a more elegant way to give the data of a collection into the ShoppingCartItem-Object?

 

Best regards,

 

Martin


Viewing all articles
Browse latest Browse all 379

Trending Articles