kamagra how much to take

Working with the SharePoint Managed Metadata Column and Web Services

I was called into a client this morning to provide some development support around an application that a couple inhouse developers were working on that was attempting to make modifications to a Managed Metadata column through the use of web services. Particularly, the client was using the copy.asmx web service to attempt to set the values. They had already tried several permutations of values formats, and none of them had any effect on updating the data. Just a bunch of blank nonsense.

When attempting to work with the Managed Metadata column there are some important points to consider.

  1. The FieldInformation Type value will return a value of MultiChoice, but this is not the case. It’s actually Note.
  2. The field display name isn’t DisplayName, its DisplayName_0.
  3. The value to provide should be of form: [wssid];#[term name]|[term guid]

For the last point, providing a value for wssid is optional but the existence check for the particular term targeting your element is not.

Share

4 Comments

  1. Jason Lochan says:

    Interesting find… Managed Meta has proved to be much more difficult to roll out tha originally anticipated.

  2. Jesper Lund says:

    I have experimented a bit with especially your last point, but I can’t seem to get the format right. Are you sure the wssid is optional?
    An example of my string is: “;#Denmark|input_guid_here “.

  3. ramesh says:

    Actually out of [WssId];#[Term]|[TermGuid] only the |[TermGuid] is optional. [WssId];#[Term] is required.

  4. Betty says:

    Hello, I’m having the exact problem. I’m unable to get your suggestion to work…

    country is FieldInformation array.

    country.InternalName = “internal_Country”;
    country.DisplayName = “Country”;
    country.Type = sp_ws_copy.FieldType.Note;
    country.Value = “39;#LOCALCOUNTRY|c2a8b76d-cf07-41f2-9b77-89303e187b1d”;

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>