I have a picture library which consist of 2 content types: "Photo Album" and "picture". I also have made a search site to search the albums. I have made a custom item display template which show the link, the title and the author. I need the Item child count as well to show how many pictures there are in each Photo Album. Does anyone have an idea how to do that?

  • What is the parent content type of "Photo Album"? – Matthew McDermott Apr 1 '16 at 11:48
  • Matthew, photo album is a documentset. – Frederik Broux Apr 3 '16 at 9:31

I found the solution. The property ItemChildCount was mapped to the field ReplyCount. Adding that field to the display template fixed the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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