Unanswered Managed Metadata default value syntax

  • Monday, August 06, 2012 9:15 AM
     
     

    Hi,

    I am working on an application that uses SharePoint's web services. The issue I am facing is that for a managed metadata column , the following values that SharePoint server sends are in different formats:

    1. The value of managed metadata received in GetItem response is of the format  value1|id1;value2|id2;value3|id3

    2. while the default value of a managed metadata column in GetListContentType response comes in the format x1;#value1|id1;#x2;#value2|id2;#x3;#value3|id3 where x1,x2 etc. appear to be some random numbers.

    This leads to handling 2 types of formats at the client end. Is this a bug or is this expected? If its expected what are these numbers x1, x2 and is it documented anywhere?

    thanks,

    Shivani

All Replies

  • Thursday, August 09, 2012 11:27 PM
     
     

    Hi Shivani,

    I asked around and found this post about the taxonomy schema. I hope it helps.

    Thanks,

    -Thomas

  • Monday, August 13, 2012 9:55 AM
     
     
    Hi Thomas,

    Thanks for this link. What I can make out is that the numbers x1, x2 etc. are WSS Ids. But the issue that still confounds me is why SharePoint server is sending WSS id in the default value in GetListContentType response  while not in the value field in GetItem response. I believe the server can do without sending wss id in GetListContentType response for managed metadata columns.

    thanks,

    Shivani