Welcome to MSDN Blogs Sign in | Join | Help
Why aren't my Profile objects copied to the Data Warehouse?

In Commerce Server 2007, using our profile system to create Users (UserObjects), Addresses and Currency objects that you would like to transfer (via DTS Import) to a site level Data Warehouse, you must remember the following:

On all Guid values in a profile, you must include a bracket before and after the Guid in order for the DTS Import to successfully import the profile object.  For instance, here is example of a Guid which would NOT work with our Data Warehouse.  This is a Guid from the u_address_id, which is part of the Address schema:

000025df-2143-4e09-b2db-05bc8f873e34

In order for that Address cooresponding to the above Guid to be successfully imported, it must be modified/created like this:

{000025df-2143-4e09-b2db-05bc8f873e34}

It's imperative that your Commerce Server site code take this into account if you plan on integrating your Commerce data into a Data Warehouse!

 

Hope this helps!

Alan

Posted: Thursday, August 24, 2006 6:31 PM by akfaulkner

Comments

jrmcdona said:

Hello and thanks for the post!


In our profiles database under the Addresses table, our u_address_id coumn is an nvarchar(50) and the values in the record looks like this: 017a1da3-b66e-47c7-997f-7a40eaf6bc69

1. SHould this be a GUID datatype?
2. hOW So this will cause the addresses to not be imported?

I am looking the UserObject table and the u_user_id is stored with the brackets and is an nvarchar(50) so I assume this is correct.

Thanks!
Jordan
# September 12, 2006 12:06 PM

jrmcdona said:

I meant to ask what is the best means of fixing this? thanks!
# September 12, 2006 12:16 PM

akfaulkner said:

Hey Jordan,

You need to change the Address Id to have brackets around the Guid:

{017a1da3-b66e-47c7-997f-7a40eaf6bc69}

This is needed to copy these values to the Data Warehouse.  A small VB Script would work great to update all the values.  You could also do a easy C# program to perform that conversion.  

Hope this helps!

-Alan
# September 13, 2006 9:22 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker