Microsoft Developer Network > Forums Home > Commerce Server Forums > Commerce Server 2007 > OutOf process Profile Userobject XML has missing columns
Ask a questionAsk a question
 

AnswerOutOf process Profile Userobject XML has missing columns

  • Wednesday, October 28, 2009 8:00 PMRajsharad Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I get a outOfProcess ProfileManagementContext named context and then

    XmlElement customerData = context.GetProfile("{" + customerID.ToString() + "}", "UserObject");
    CustomerData does not have all the columns which I see in CS manager for userObject. Some of the cols missing are custom but other custom columns do appear. What am I missing- please help
    Thanks

Answers

  • Wednesday, October 28, 2009 8:57 PMCyril Rebreyend Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    hi

    2 things come in my mind.
    1/ Did you extend your userobject ?
    2/ Are the fields you want to retrieve null ?

    Cyrebre
    • Marked As Answer byRajsharad Thursday, October 29, 2009 12:47 PM
    •  

All Replies

  • Wednesday, October 28, 2009 8:57 PMCyril Rebreyend Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    hi

    2 things come in my mind.
    1/ Did you extend your userobject ?
    2/ Are the fields you want to retrieve null ?

    Cyrebre
    • Marked As Answer byRajsharad Thursday, October 29, 2009 12:47 PM
    •  
  • Thursday, October 29, 2009 9:19 AMRavi Kanth KoppalaMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Can you check whether the exported attribute is checked for those properties?


    Regards,
    -Ravi Kanth Koppala


    http://techblog.ravikanth.net (If this post answers your question - Either Mark this post as the answer or vote as being useful.)
  • Thursday, October 29, 2009 12:48 PMRajsharad Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks, It was a null field issue and I completely overlooked it

    Thanks again for your quick reply