|
| What's the best and simplest way to add newly user-defined address & credit
card profile to the (address_list & credit card list) property definition.
for example:
Say I have a user profile called: Prof.
Assigning the values like the following way is not (well professional to say
the least)
Prof["GeneralInfo.address_list"].value = address_profile_count + ";" +
address_profile1_guid + ";" +address_profile2_guid + ";" +
address_profile3_guid; // this is like using a string builder class to create
an .xml file
I am sure there is a more (professional) way of doing this, probably a
method that uses ProfileCollection, but I am not sure what that method is nor
how to use it.
I can assign the addresses to the address list from the "Customers & Orders
Manager" but I want to do so programmatically.
Thanks
|
|