Sitefinity CMS enables you to query for specific comments.
The following sample demonstrates how to query for a specific comment by its Key:
In the code above, you:
If the method does not find any comments matching the filter criteria, null will be returned.
The following sample demonstrates how to query all blog post comments by the Id of the live version of the blog post item:
You can also use CommentFilter to filter comments by different criteria, each one represented as a list:
In the following example, you filter by more than one criteria:
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2020 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity