ICMSPage Interface Ingeniux DSS Library
Represents an actual request to a CMS Page. It provides the means to traverse a Page's content through unique Ingeniux CMS types, and carries the necessary Http Request information.

Namespace: Ingeniux.Runtime
Assembly: IGXRuntimeAPI (in IGXRuntimeAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public interface ICMSPage : ICMSRequest, 
	ICMSEnvironment

The ICMSPage type exposes the following members.

Properties

  NameDescription
Public propertyAuthenticationInformation
Gets the authentication information of current Http Request. Only Page that requires authentication will carry this information, when authenticated.
Public propertyBaseURL
Gets the absolute base URL of the Web Application.
(Inherited from ICMSEnvironment.)
Public propertyBrowserCapabilities
Gets the browser capabilities of the current Http Request.
Public propertyCookies
Gets the Cookies collection.
(Inherited from ICMSEnvironment.)
Public propertyCurrentPublishingTargetID
Gets the current Publishing Target Id, design-time only.
(Inherited from ICMSEnvironment.)
Public propertyEditMode
Applies to design-time only. Gets whether the Http Request is for Previewing a Page in In-Context-Edit mode..
(Inherited from ICMSEnvironment.)
Public propertyExists
Gets whether the Page or Route exists within published content, for the given request.
(Inherited from ICMSRequest.)
Public propertyFactory
Gets the page factory used to retrieve pages
(Inherited from ICMSEnvironment.)
Public propertyForm
Gets the Form Posts collection.
(Inherited from ICMSEnvironment.)
Public propertyID
Gets the Page or Component ID.
Public propertyIncludeAllPages
Gets whether all Pages are included when building Component and Navigation references. Only applies to CMS design-time. Default value is false.
(Inherited from ICMSEnvironment.)
Public propertyIsPreview
Checks whether the Http Request is for Page Preview from CMS Design-time site.
(Inherited from ICMSEnvironment.)
Public propertyMobileDeviceInformation
Get the mobile device information, if the Http Request was from browser on a mobile device; Otherwise, returns null.
Public propertyPage
Gets the CMS Page to which this element belongs.
Public propertyPresentationInformation
Gets the information for the Presentation for the Page to which this Element belongs. Presentations are design customization onthe Page that were built via Ingeniux CMS Page builder. This property returns null, if the Page this Element belongs to doesn't have Presentation, or this Element belongs to a Component.
Public propertyQueryString
Gets QueryStrings collection.
(Inherited from ICMSEnvironment.)
Public propertyRequestPath
Gets the relative path of the Http Request.
(Inherited from ICMSEnvironment.)
Public propertyRestrictedAccess
Gets whether this Page is protected by the Ingeniux Runtime Authentication system. IF Runtime Authentication is disabled, this property will always return false.
Public propertyServerVariables
Gets the Server Variables collection, specified by the CMS settings.
(Inherited from ICMSEnvironment.)
Public propertySite
Gets the Site branding of the Request.
(Inherited from ICMSEnvironment.)
Public propertyStructuredURL
Gets the canonical structured URL of this Page.
(Inherited from ICMSEnvironment.)
Public propertyTag
Gets/sets the extra information to be included in the model. Can be any type.
Public propertyTransformOption
Gets the what type of Page content the Request wants: Final Markup, Expanded XML, or Raw XML.
(Inherited from ICMSEnvironment.)
Public propertyURL
Gets the absolute URL of the Http Request.
(Inherited from ICMSEnvironment.)
Public propertyUserAgent
Gets the UserAgent branding of the Request
(Inherited from ICMSEnvironment.)
Public propertyViewMode
Gets the Mode of View. It is used to distinguish different View/XSLT template, when requesting the same Element. The value of this property is particularly important for In-Context-Edit markup update, especially for traditional XSLT implementations.
(Inherited from ICMSEnvironment.)
Public propertyViewName
Gets the name of the MVC View of this Page. By default, is it is the root Element name.
Top
Methods

  NameDescription
Public methodAttribute
Gets an Attribute by its name.
Public methodAttributes
Gets all Attributes of the Element.
Public methodDescendants
Gets the descendant Elements.
Public methodDescendants(XName, String)
Gets the descendant Elements that have the specific element name.
Public methodDescendantsAndSelf
Gets the descendant Elements, including this Element/Page Root Element itself.
Public methodDescendantsAndSelf(XName)
Gets the descendant Elements by element name; including this Element/Page Root Element itself, if its name matches the given name.
Public methodElement
Gets the first child Element with the given name.
Public methodElements
Gets the child Elements
Public methodElements(XName, String)
Gets the child Elements by given name.
Public methodGetAttributeValue
Gets the value of an Attribute, if the attribute exists.
Public methodGetComponentTemplate
Gets the presentation fragment template for a particular component id. If the component doesn't have presentation fragment, returns null.
Public methodGetElementValue
Gets the value of the first Element matching the given name.
Public methodGetLinkItem
Retrieves one Link item with the given name.
Public methodGetLinkItems
Gets Link items with the given name.
Public methodGetNavigation
Public methodGetNavigationItems
Public methodGetTaxonomyNavigation
Public methodXPathSelectElement
Uses an XPath query to select a single Element.
Public methodXPathSelectElements
Uses an XPath query to select a list of Elements.
Top
See Also

Reference