1

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?

2
  • What is the parent content type of "Photo Album"? Apr 1, 2016 at 11:48
  • Matthew, photo album is a documentset. Apr 3, 2016 at 9:31

1 Answer 1

1

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 and acknowledge you have read our privacy policy.

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