Table of Contents

Class Page

Namespace
Oqtane.Models
Assembly
Oqtane.Shared.dll

Describes a Page in Oqtane

public class Page : ModelBase, IAuditable, IDeletable
Inheritance
Page
Implements
Inherited Members

Properties

BodyContent

Content to be included in the body of the page

public string BodyContent { get; set; }

Property Value

string

DefaultContainerType

Reference to a Container which will be used for modules on this page.

public string DefaultContainerType { get; set; }

Property Value

string

DeletedBy

User who deleted this object.

public string DeletedBy { get; set; }

Property Value

string

DeletedOn

Timestamp when it was deleted.

public DateTime? DeletedOn { get; set; }

Property Value

DateTime?

EditMode

[Obsolete("The EditMode property is deprecated", false)]
[NotMapped]
public bool EditMode { get; set; }

Property Value

bool

EffectiveDate

Start of when this assignment is valid. See also ExpiryDate

public DateTime? EffectiveDate { get; set; }

Property Value

DateTime?

ExpiryDate

End of when this assignment is valid. See also EffectiveDate

public DateTime? ExpiryDate { get; set; }

Property Value

DateTime?

HasChildren

Determines if there are sub-pages. True if this page has sub-pages.

[NotMapped]
public bool HasChildren { get; set; }

Property Value

bool

HeadContent

Content to be included in the head of the page

public string HeadContent { get; set; }

Property Value

string

Icon

Icon file for this page. TODO: unclear what this is for, and what icon library is used. Probably FontAwesome?

public string Icon { get; set; }

Property Value

string

IsClickable

public bool IsClickable { get; set; }

Property Value

bool

IsDeleted

If something is deleted, this will be true.

public bool IsDeleted { get; set; }

Property Value

bool

IsNavigation

public bool IsNavigation { get; set; }

Property Value

bool

IsPersonalizable

public bool IsPersonalizable { get; set; }

Property Value

bool

LayoutType

[Obsolete("The LayoutType property is deprecated", false)]
[NotMapped]
public string LayoutType { get; set; }

Property Value

string

Level

[NotMapped]
public int Level { get; set; }

Property Value

int

Name

Page Name. TODO: todoc where this is used

public string Name { get; set; }

Property Value

string

Order

Sort order in the list of other sibling pages

public int Order { get; set; }

Property Value

int

PageId

Id of the Page

public int PageId { get; set; }

Property Value

int

Panes

List of Pane-names which this Page has.

[NotMapped]
public List<string> Panes { get; set; }

Property Value

List<string>

ParentId

Reference to the parent Page if it has one.

public int? ParentId { get; set; }

Property Value

int?

Path

Path of the page. TODO: todoc relative to what? site root, parent-page, domain?

public string Path { get; set; }

Property Value

string

PermissionList

[NotMapped]
public List<Permission> PermissionList { get; set; }

Property Value

List<Permission>

Permissions

[Obsolete("The Permissions property is deprecated. Use PermissionList instead", false)]
[NotMapped]
[JsonIgnore]
public string Permissions { get; set; }

Property Value

string

Resources

List of Resource (CSS, JS) which this page needs to render properly.

[NotMapped]
public List<Resource> Resources { get; set; }

Property Value

List<Resource>

Settings

[NotMapped]
public Dictionary<string, string> Settings { get; set; }

Property Value

Dictionary<string, string>

SiteId

Reference to the Site.

public int SiteId { get; set; }

Property Value

int

ThemeType

Reference to a Theme which will be used to show this page.

public string ThemeType { get; set; }

Property Value

string

Title

Page Title which is shown in the browser tab.

public string Title { get; set; }

Property Value

string

Url

Full URL to this page. TODO: verify that this is the case - does it contain domain etc. or just from domain or alias root?

public string Url { get; set; }

Property Value

string

UserId

public int? UserId { get; set; }

Property Value

int?