Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Currently thinking that this might be the best way:
var parent = Reference.Create(id);
var criteria = new Criteria<CommentFilter>
{
PageInfo = new PageInfo { PageSize = 1 },
Filter = new CommentFilter { Parent = parent }
};
var results = _commentService.Get(criteria).TotalCount;
Is there an extension or an easy way to get a count of all comments attached to a specific Id?
I don't really want to have to filter/page through all results
Thanks