To find a specific PageData by ID, you use the GetPageDataList method:
To find the PageData, you use the GetPageDataList method and filter based on the Id property. If the PageData does not exist, the method returns null. Use the following code sample:
You can also use the GetPageData method in the following way:
NOTE: If there is no PageData with the specified ID, the GetPageData method throws an exception of typeItemNotFoundException.
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important