none
Regarding Profile Manager fields having Null value RRS feed

  • Question

  • Suppose I created a user profile having the following rdf structure.

    <rdf:RDF xmlns:csf="http://schemas.microsoft.com/connectedservices/pm#/"

    xmlns:owl="http://www.w3.org/2002/07/owl#"

    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">

    <rdf:Description rdf:about="http://schemas.microsoft.com/connectedservices/pm#/dik@contoso.com">

    <csf:FirstName>Dikson</csf:FirstName>

    <csf:Currency></csf:Currency>

    <csf:Email></csf:Email>

    <csf:Phone>

    <rdf:Description>

    <csf:PhoneType>Primary1</csf:PhoneType>

    <csf:PhoneNumber>222-333333</csf:PhoneNumber>

    <csf:CountryCode></csf:CountryCode>

    </rdf:Description>

    </csf:Phone>

    </rdf:Description>

    </rdf:RDF>

     
     
    While reading the same UserProfile, I am getting following error. 
    "A blank node can not have triples which points to another blank node."
     
    So, if I am creating a user profile having few fields NULL value, how can I read the same UserProfile without having blanknode error?
    Please help me in this regard and let me know in case you need any information.
     
    However, with the below workaround I am able to read the profile .
     
    Instead of sending any null value for a profile detail, if I am sending a string like "nil" or "N/A" to the database then able to read the profile without error.
    Monday, October 30, 2006 8:57 AM

Answers

  • Hello - We don't support having a blank node pointing to another blank node in this version. So you need to model your RDF graph bit differently to avoid that.

    Regarding the support for null value, I would recommend not to have that node itself instead of trying to store N/A or NIL 

    In this case you don't want to add <csf:CountryCode></csf:CountryCode> to your graph if you don't have the value for CountryCode.

    We added this restriction to make sure the data remains consistent in the store.

    Thanks

     

    Friday, November 3, 2006 9:31 PM

All replies

  • Hello - We don't support having a blank node pointing to another blank node in this version. So you need to model your RDF graph bit differently to avoid that.

    Regarding the support for null value, I would recommend not to have that node itself instead of trying to store N/A or NIL 

    In this case you don't want to add <csf:CountryCode></csf:CountryCode> to your graph if you don't have the value for CountryCode.

    We added this restriction to make sure the data remains consistent in the store.

    Thanks

     

    Friday, November 3, 2006 9:31 PM
  • Thank you for the information. I will implement as per your information.
    Monday, November 6, 2006 4:12 AM
  • Hello - Please let us know if you run into any issue after making that change.

    Thanks

    Monday, November 6, 2006 9:04 PM