0
私は、リスト内の更新SharePointリストアイテム
var soapEnv="<?xml version='1.0' encoding='utf-8'?> \
<soap12:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap12='http://www.w3.org/2003/05/soap-envelope'> \
<soap12:Body> \
<UpdateListItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'> \
<listName>TestList</listName> \
<updates> \
<Batch OnError='Continue'> \
<Method ID='1' Cmd='Update'> \
<Field Name='RoleAsignedToSkill'>"+align+"</Field> \
<Field Name='CrossCapability'>"+ccap+"</Field> \
<Field Name='CrossSpecialty'>"+cspcl+"</Field> \
<Field Name='CrossSkill'>"+cskill+"</Field> \
<Field Name='SuggestedTraining'>"+st+"</Field> \
<Field Name='ToCrossSkill'>"+tcs+"</Field> \
<Field Name='Status'>Done</Field> \
<Field Name='ID'>"+rid+"</Field> \
</Method> \
</Batch> \
</updates> \
</UpdateListItems> \
</soap12:Body> \
</soap12:Envelope>";
$.ajax({
url: "https://test.com/sites/test/_vti_bin/lists.asmx",
beforeSend: function (xhr) {
xhr.setRequestHeader("SOAPAction","http://schemas.microsoft.com/sharepoint/soap/UpdateListItems");
},
type: "POST",
dataType: "xml",
data: soapEnv,
contentType: "text/xml; charset=\"utf-8\"" });
すべての列は、今問題がある255 に設定最大文字で「1行テキスト」である下記のコードを使用してリストアイテムを更新しようとしていますもし私が30文字の長さのデータを送信すると、データは更新されますが、それ以上の場合は更新されません。助けてください