Discussion:
Adding New Data Members for User Object Profile
(too old to reply)
Bryan Kail
2006-08-18 14:26:01 UTC
Permalink
Out of the box there are 5 of those Custom Profile Properties (Data Members)
to map custom user profile properties to. I know that I am going to need
more than 5 of those. Could you explain the proper way to add a new data
member, say 'Custom Property 6' (u_Pref6), to the Commerce Server Manager
User Object and then be able to use it in th Customer and Order Manager. I
tried doing this myself and I got an error when I tried to create a new
profile in the customer manager with this newly modified profile defintion.I
was able to get the new custom property added to commerce server manager and
I was even able to get the field to show up in the Customer Manager thnaks to
Nihit Kaul's post regarding how to do that. I was just unable to create a
new profile in the CUstomer Manager after adding the new data member and
tying a custom user object property to it. I feel pretty certain that the
error was due to me not setting up the new Data Member correctly.
--
Regards,

Bryan Kail - MCP (.NET Web Applications)
Senior Developer
Bryan Kail
2006-08-18 15:08:45 UTC
Permalink
Through looking back at my notes at how I did this in CS2002 it looks like we
manually added the columsn to the Db for new custom attributes.

Can someone confirm that this is still the way this would be done in CS2007:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csvr2002/htm/cs_sp_nettutorial_bphq.asp
--
Regards,

Bryan Kail - MCP (.NET WEb Applications)
Senior Developer
Post by Bryan Kail
Out of the box there are 5 of those Custom Profile Properties (Data Members)
to map custom user profile properties to. I know that I am going to need
more than 5 of those. Could you explain the proper way to add a new data
member, say 'Custom Property 6' (u_Pref6), to the Commerce Server Manager
User Object and then be able to use it in th Customer and Order Manager. I
tried doing this myself and I got an error when I tried to create a new
profile in the customer manager with this newly modified profile defintion.I
was able to get the new custom property added to commerce server manager and
I was even able to get the field to show up in the Customer Manager thnaks to
Nihit Kaul's post regarding how to do that. I was just unable to create a
new profile in the CUstomer Manager after adding the new data member and
tying a custom user object property to it. I feel pretty certain that the
error was due to me not setting up the new Data Member correctly.
--
Regards,
Bryan Kail - MCP (.NET Web Applications)
Senior Developer
Jeff Lynch
2006-08-18 19:21:41 UTC
Permalink
Bryan,

Yes, it works exactly like it did in CS2002.
--
Jeff Lynch
MVP Windows Server System - Commerce Server
http://codebetter.com/blogs/jeff.lynch
Post by Bryan Kail
Through looking back at my notes at how I did this in CS2002 it looks like we
manually added the columsn to the Db for new custom attributes.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csvr2002/htm/cs_sp_nettutorial_bphq.asp
--
Regards,
Bryan Kail - MCP (.NET WEb Applications)
Senior Developer
Post by Bryan Kail
Out of the box there are 5 of those Custom Profile Properties (Data Members)
to map custom user profile properties to. I know that I am going to need
more than 5 of those. Could you explain the proper way to add a new data
member, say 'Custom Property 6' (u_Pref6), to the Commerce Server Manager
User Object and then be able to use it in th Customer and Order Manager.
I
tried doing this myself and I got an error when I tried to create a new
profile in the customer manager with this newly modified profile defintion.I
was able to get the new custom property added to commerce server manager and
I was even able to get the field to show up in the Customer Manager thnaks to
Nihit Kaul's post regarding how to do that. I was just unable to create a
new profile in the CUstomer Manager after adding the new data member and
tying a custom user object property to it. I feel pretty certain that the
error was due to me not setting up the new Data Member correctly.
--
Regards,
Bryan Kail - MCP (.NET Web Applications)
Senior Developer
Loading...