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

The site has a list (List A) that links to multiple comments lists. For each item in List A, a unique list exists to capture comments related to that item.

  1. Users want to know how many comments have been logged on that item while in List A, without having to jump to the comments list.
  2. If that is possible, then I'm sure next they will want to know how many new items were created in the comments list since last the user visited.

I would be ever so grateful if I could just get some guidance on the first question!

Thanks in advance!

share|improve this question

1) I believe you are looking for the SPList.ItemCount property of the list.

2) For this, you will have to query the list and get the items whose "Created" column has a value between now and when the user last logged in.

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.