IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
This topic contains the following:
To query a single post, you must perform the following:
Here is a code example of using the GetPost method:
NOTE: If the post does not exist, the method throws an exception of type Telerik.Sitefinity.SitefinityExceptions.ItemNotFoundException.
Here is a code example of using the GetPosts method:
To query all posts from a thread, you must perform the following:
Here is a code example:
NOTE: Because it is possible to have a post without a thread, you must make a check whether the Thread property is null.
To query all threads, you must perform the following:
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