Documentation

IPage

This is the interface for all page types in ThoughtFarmer. You can use the methods here safely on anything returned by the custom card Api helper methods. Other page type instances will need to be cast properly before you can access their more specific methods and properties.

 

OpenRoad.ThoughtFarmer.Core.Content.IPage

Properties

Name Type Description
Node Node Gets the Node object that contains hierarchy and ID information for the page.
Audit Audit Gets the Audit object that contains content meta data for the page (e.g. ownership, created dates, etc...)
SortOrder int Gets the int representing the sort order in navigation.
IsInNavigation boolean Gets the boolean indicating if this page should show in the top navigation bar. 
Title LocalizedSortedList Gets the LocalizedSortedList for the title of this page. 
AbbrevTitle LocalizedSortedList Gets the LocalizedSortedList for the abbreviated title of this page. Typically used for navigation.
Url string Gets the string representing the relative url for the page (e.g. "/content/123")


Methods

Name Return type Description
EditUrl(string culture) string Gets the string representing the relative edit url for the page using the specified culture (e.g. "/content/edit/en/123").