Nov 21 2020 07:35 AM
Hi,
I want to update column of document library with append text and how can do it?
example :
varText is value from column 'AcceptPerson' and I will get value before update.
before update, varText is "Text1" and varText is "Text 1 + AAA" after update.
clientContext = new SP.ClientContext.get_current();
var oList = clientContext.get_web().get_lists().getByTitle("Test Documents");
var listItem = oList.getItemById( 10 ) ;
listItem.set_item('AcceptPerson', varText );
listItem.update();
Thank you.
Aor.