Newbie question - please bear with me... it's about Meta Data - InfoPath Dev
in

InfoPath Dev

Newbie question - please bear with me... it's about Meta Data

Last post 08-19-2013 05:16 AM by Jan Vorster. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 08-18-2013 09:45 PM

    Newbie question - please bear with me... it's about Meta Data

    Hi there,

     I've been looking around for a tutorial or walktrhough on saving a meta data value to a sharepoint list. I've only managed to find examples/videos on either getting a meta data value (GetTermByLabel) and others on using a mapping to SaveToSharePointList... When I try to save my term value to the mapped Managed Meta Data field in my SP List, I get this error (on the QRules error control) :

    The operation failed because an unexpected error occurred. (Result Code: 0x80020005)

     and I'm also monitoring the ULS log and there I can sort-of see the problem (at least I'm guessing that it's the probem) :

    Error loading and running event receiver Microsoft.SharePoint.Taxonomy.TaxonomyItemEventReceiver in Microsoft.SharePoint.Taxonomy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Additional information is below. : Value does not fall within the expected range.

    I would have thought that the value for the meta data field would be in the format of {Text}|{GUID}... but the SOAP message shows that just the GUID value of the term is being sent :

    <?xml version="1.0" encoding="UTF-8" standalone="no"?><SOAP-ENV:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema" xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><UpdateListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/"> <listName>{11677155-E4BD-4279-92C2-D1FE5F9A86A5}</listName> <updates> <Batch OnError="Continue"> <Method ID="1" Cmd="New"> <Field Name="Service_x0020_Family" RichText="false">27bc4068-aa34-4f4a-bb1a-98044baabe20</Field> </Method> </Batch> </updates> </UpdateListItems></SOAP-ENV:Body></SOAP-ENV:Envelope>

    So - I'm hoping I'm just being a noob and not using the tools properly - please help!?

    Thanks

    Jan

    Jan Vorster
  • 08-18-2013 11:50 PM In reply to

    Re: Newbie question - please bear with me... it's about Meta Data

    Hi Jan,

    I'm attaching a draft document that we have. Please let me know if this helps.

    There's also the following thread for reference: http://www.infopathdev.com/forums/p/23876/82828.aspx#82828

    Thanks,

    Patrick Halstead
    Project Manager at Qdabra
  • 08-18-2013 11:56 PM In reply to

    Re: Newbie question - please bear with me... it's about Meta Data

    Hi Patrick,

    Thanks for the very prompt response!

    The thread mentioned does not provide much - my target column is already a Managed Meta data column.

     I'm hoping your document would shed more light - I'm failing to open it however (404) : http://www.infopathdev.com/forums/storage/39/92317/Submitting%20a%20Managed%20Metadata%20to%20a%20SharePoint%20List.docx

    Regards,

    Jan

    Jan Vorster
  • 08-19-2013 12:57 AM In reply to

    Re: Newbie question - please bear with me... it's about Meta Data

    I got the same error. I will ask someone else to respond. Thanks for your patience.

    Patrick Halstead
    Project Manager at Qdabra
  • 08-19-2013 05:16 AM In reply to

    Re: Newbie question - please bear with me... it's about Meta Data

    Thanks Patrick & Don - your document solves the puzzle of getting the Meta Data field value properly formatted to be saved to the SharePoint list.
    (Please make the doc available in case anyone else needs it)

    Thanks again for the prompt assistance - it's really been an awesome experience.

    Cheers,
    Jan

    Jan Vorster
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.