In the Allitems.aspx there is the CTX.listName which houses the GUID of the list. what I'm looking for is the GUID for the /_layouts/viewlsts.aspx

is this even possible?

  • viewlists.aspx is a generic system page (as is everything under /_layouts/) and does not have a guid. Can you elaborate on what you are attempting to do?
    – Dave Wise
    Mar 15, 2012 at 15:01
  • Pretty much on the Viewlsts.aspx page we have a systemp list. (I'm not sure if that's a standard SP list) in the _layouts/viewlsts.aspx this list is showing to have like 90 entries. But when you open it, it shows 0 because of the way the permissions are set up. I was hoping for an easy way to extract that '90' but looks like I'll need to parse it out.
    – PogoWolf
    Mar 15, 2012 at 15:24

1 Answer 1


Sounds like you want to get the SPList.ItemCount property; that's displayed by the viewlsts.aspx page (as opposed to SPList.Items.Count which will retrieve the list items that the current user has permissions to and then count them).

What's driving this? ie where are you needing to retrieve and use this information?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.