How to Update Metadata column value

Oct 29, 2014 at 8:41 AM
Hi folks,

I have a document library with managed metadata column, I am using SPServices to update all columns of document library from a master list.

As a part I need to update metadata column also from the master list.

Many thanks for your reply in advance.

Thanks,
Fazi
Coordinator
Oct 29, 2014 at 1:47 PM
Fazi:

What have you tried so far?

M.
Oct 29, 2014 at 7:37 PM
Marc,

Thanks for your reply.

I tried the below code

$('#updatelink').click(function(){
$().SPServices({
   operation: "UpdateListItems",
   async: false,
   batchCmd: "Update",
   listName: "master document register list",
   ID: itemID,
   valuepairs: [["Title", temp_arr_doc_title], ["Document_x0020_Title", temp_arr_doc_title], ["Document_x0020_Number", temp_arr_doc_no], ["DDM_x0020_code", 'Construction 9|dc3eb298-4f46-41ca-a662-e3a273b04cdf']],
   completefunc: svcRequestComplete
 });
});

Here DDM_x0020_code is metadata column. When i use the above to update the column value nothing get update.

I don't know where I am going wrong here. I tried to search internet but no luck.

Thanks,
F
Oct 29, 2014 at 7:39 PM
Edited Nov 6, 2014 at 4:09 PM
Folks,

Any update please??