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
The ICMSPage type exposes the following members.
Properties
Name | Description | |
---|---|---|
AuthenticationInformation |
Gets the authentication information of current Http Request. Only Page that requires authentication will carry this information, when authenticated.
| |
BaseURL |
Gets the absolute base URL of the Web Application.
(Inherited from ICMSEnvironment.) | |
BrowserCapabilities |
Gets the browser capabilities of the current Http Request.
| |
Cookies |
Gets the Cookies collection.
(Inherited from ICMSEnvironment.) | |
CurrentPublishingTargetID |
Gets the current Publishing Target Id, design-time only.
(Inherited from ICMSEnvironment.) | |
EditMode |
Applies to design-time only. Gets whether the Http Request is for Previewing a Page
in In-Context-Edit mode..
(Inherited from ICMSEnvironment.) | |
Exists |
Gets whether the Page or Route exists within published content, for the given request.
(Inherited from ICMSRequest.) | |
Factory |
Gets the page factory used to retrieve pages
(Inherited from ICMSEnvironment.) | |
Form |
Gets the Form Posts collection.
(Inherited from ICMSEnvironment.) | |
ID |
Gets the Page or Component ID.
| |
IncludeAllPages |
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.) | |
IsPreview |
Checks whether the Http Request is for Page Preview from CMS Design-time site.
(Inherited from ICMSEnvironment.) | |
MobileDeviceInformation |
Get the mobile device information, if the Http Request was from browser on a mobile device; Otherwise, returns null.
| |
Page |
Gets the CMS Page to which this element belongs.
| |
PresentationInformation |
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.
| |
QueryString |
Gets QueryStrings collection.
(Inherited from ICMSEnvironment.) | |
RequestPath |
Gets the relative path of the Http Request.
(Inherited from ICMSEnvironment.) | |
RestrictedAccess |
Gets whether this Page is protected by the Ingeniux Runtime Authentication system.
IF Runtime Authentication is disabled, this property will always return false.
| |
ServerVariables |
Gets the Server Variables collection, specified by the CMS settings.
(Inherited from ICMSEnvironment.) | |
Site |
Gets the Site branding of the Request.
(Inherited from ICMSEnvironment.) | |
StructuredURL |
Gets the canonical structured URL of this Page.
(Inherited from ICMSEnvironment.) | |
Tag |
Gets/sets the extra information to be included in the model. Can be any type.
| |
TransformOption |
Gets the what type of Page content the Request wants: Final Markup, Expanded XML, or Raw XML.
(Inherited from ICMSEnvironment.) | |
URL |
Gets the absolute URL of the Http Request.
(Inherited from ICMSEnvironment.) | |
UserAgent |
Gets the UserAgent branding of the Request
(Inherited from ICMSEnvironment.) | |
ViewMode |
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.) | |
ViewName |
Gets the name of the MVC View of this Page. By default, is it is the root Element name.
|
Methods
Name | Description | |
---|---|---|
Attribute |
Gets an Attribute by its name.
| |
Attributes |
Gets all Attributes of the Element.
| |
Descendants |
Gets the descendant Elements.
| |
Descendants(XName, String) |
Gets the descendant Elements that have the specific element name.
| |
DescendantsAndSelf |
Gets the descendant Elements, including this Element/Page Root Element itself.
| |
DescendantsAndSelf(XName) |
Gets the descendant Elements by element name; including this Element/Page Root Element itself, if its name matches the given name.
| |
Element |
Gets the first child Element with the given name.
| |
Elements |
Gets the child Elements | |
Elements(XName, String) |
Gets the child Elements by given name.
| |
GetAttributeValue |
Gets the value of an Attribute, if the attribute exists.
| |
GetComponentTemplate |
Gets the presentation fragment template for a particular component id.
If the component doesn't have presentation fragment, returns null.
| |
GetElementValue |
Gets the value of the first Element matching the given name.
| |
GetLinkItem |
Retrieves one Link item with the given name.
| |
GetLinkItems |
Gets Link items with the given name.
| |
GetNavigation |
Gets a Navigation Element.
| |
GetNavigationItems |
Gets Link items from a Navigation Element.
| |
GetTaxonomyNavigation |
Gets a Taxonomy Navigation Element.
| |
XPathSelectElement |
Uses an XPath query to select a single Element.
| |
XPathSelectElements |
Uses an XPath query to select a list of Elements.
|
See Also