Table of Contents

Class PageDataRaw

Namespace
ToSic.Sxc.DataSources.Internal
Assembly
ToSic.Sxc.dll

Internal class to hold all the information about the page, until it's converted to an IEntity in the Pages DataSource.

For detailed documentation, check the docs of the underlying objects:

Important: this is an internal object. We're just including in in the docs to better understand where the properties come from. We'll probably move it to another namespace some day.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class PageDataRaw
Inheritance
PageDataRaw

Remarks

Make sure the property names never change, as they are critical for the created Entity.

Fields

Option

public static DataFactoryOptions Option

Field Value

DataFactoryOptions

Properties

Clickable

Determines if this item is clickable in the menu.

  • In Dnn it's from !TabInfo.DisableLink
  • in Oqtane it's from Page.IsClickable
public bool Clickable { get; set; }

Property Value

bool

Remarks

Added in v15.01

Created

The page creation date/time.

  • In Dnn it's from TabInfo.CreatedOnDate
  • in Oqtane it's from Page.CreatedOn
public DateTime Created { get; set; }

Property Value

DateTime

Guid

The page GUID.

  • In Dnn it's from TabInfo.UniqueId
  • In Oqtane it's Guid.Empty as Oqtane doesn't have page GUIDs
public Guid Guid { get; set; }

Property Value

Guid

HasChildren

Info if the page has sub-pages.

  • In Dnn it's from TabInfo.HasChildren
  • in Oqtane it's from Page.HasChildren
public bool HasChildren { get; set; }

Property Value

bool

Remarks

Added in v15.01

Id

The page ID.

  • In Dnn it's from TabInfo.TabID
  • In Oqtane it's Page.PageId
public int Id { get; set; }

Property Value

int

IsDeleted

The page delete-status. Normally you will only see not-deleted pages, so it should usually be false.

  • In Dnn it's from TabInfo.IsDeleted
  • in Oqtane it's from Page.IsDeleted
public bool IsDeleted { get; set; }

Property Value

bool

Remarks

Added in v15.01

Level

How deep this page is in the breadcrumb. The number is 1 based, so the top level is 1.

  • In Dnn it's from TabInfo.Level (+1)
  • in Oqtane it's from Page.Level (+1)
public int Level { get; set; }

Property Value

int

Remarks

Added in v15.01

LinkTarget

WIP

  • In Dnn it's from TabInfo.TabSettings["LinkNewWindow"]and will be either _blank or `` (empty string)
  • In Oqtane it's not implemented an will be an empty string
public string LinkTarget { get; set; }

Property Value

string

Remarks

Added in v15.02

Modified

The page modification date/time.

  • In Dnn it's from TabInfo.LastModifiedOnDate
  • in Oqtane it's from Page.ModifiedOn
public DateTime Modified { get; set; }

Property Value

DateTime

Name

The page name.

  • In Dnn it's from TabInfo.Name
  • in Oqtane it's from Page.Name
public string Name { get; set; }

Property Value

string

Order

Order of this item in a menu. It is 1 based, so the first item has Order 1.

  • In Dnn it's from TabInfo.TabOrder
  • in Oqtane it's from Page.Order
public int Order { get; set; }

Property Value

int

Remarks

Added in v15.01

ParentId

The parent page ID.

It's usually 0 if it's a top level page.

  • In Dnn it's from TabInfo.ParentId
  • in Oqtane it's from Page.ParentId
public int ParentId { get; set; }

Property Value

int

Path

The path with slashes to this page.

  • In Dnn it's from TabInfo.TabPath
  • in Oqtane it's from Page.Path
public string Path { get; set; }

Property Value

string

Title

The page title.

  • In Dnn it's from TabInfo.Title
  • in Oqtane it's from Page.Title
public string Title { get; set; }

Property Value

string

Url

The public url to this page (without any trailing slashes)

  • In Dnn it's from TabInf.FullUrl (last slash removed)
  • in Oqtane it's a combination of protocol, site-alias and path
public string Url { get; set; }

Property Value

string

Visible

The page visibility - if it should be shown in the menu.

  • In Dnn it's from TabInfo.IsVisible
  • in Oqtane it's from Page.IsNavigation
public bool Visible { get; set; }

Property Value

bool