Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: File operations using SPServices

$
0
0
Hi Marc,

From the SharePoint manager I figured out "vti_level" field holds the value of published status


Image


I tried updating the list item with new value
<script type="text/javascript">
    $(document).ready(function () {
        $().SPServices({
  operation: "UpdateListItems",
  listName: "holderItems",
  ID: 57,
  async: false,
  valuepairs: [["vti_level", "2"]],
  completefunc: function(xData, Status) {    
  }
 });
    });
</script>
Still no luck.
<ErrorCode>0x81020014</ErrorCode><ErrorText>One or more field types are not installed properly. Go to the list settings page to delete these fields.</ErrorText>
I tried even with "valuepairs: [["Level", "2"]]" SharePoint is not recognizing the value pairs.

-Karthik

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>