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

New Post: UpdateList method can't unhide lists!

$
0
0

Hello guys!

I'm using the UpdateList method to hide some lists libraries, while they don't need to be used.

When I try to unhide then, it isn't working ;p

I'm using the following code to hide then:

$().SPServices({
  operation: "UpdateList",
  listName: "LibraryName",
  listProperties:"<List Hidden='true' />",
  completefunc: function (xData, Status){
    console.log($(this))
  }
});

And the following code to try to unhide:

$().SPServices({
  operation: "UpdateList",
  listName: "LibraryName",
  listProperties:"<List Hidden='false' />",
  completefunc: function (xData, Status){
    console.log($(this))
  }
});

Any suggestion?

Thanks!


Viewing all articles
Browse latest Browse all 6517

Trending Articles



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