SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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 '12 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 '12 at 15:24

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?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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