Class Pages
- Namespace
- ToSic.Sxc.DataSources
- Assembly
- ToSic.Sxc.dll
Deliver a list of pages from the current platform (Dnn or Oqtane).
To figure out the properties returned and what they match up to, see ToSic.Sxc.DataSources.Internal.PageDataRaw
[PublicApi]
[VisualQuery(ConfigurationType = "3d970d2b-32cb-4ecb-aeaf-c49fbcc678a5", NameId = "e35031b2-3e99-41fe-a5ac-b79f447d5800", HelpLink = "https://go.2sxc.org/ds-pages", Icon = "find_in_page", NiceName = "Pages", Type = DataSourceType.Source, UiHint = "Pages in this site")]
public class Pages : CustomDataSourceAdvanced, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheKey, ICacheExpiring, ITimestamped, IHasLog, IDataSourceLinkable
- Inheritance
-
objectServiceBasePages
- Implements
- Inherited Members
Properties
IncludeAdmin
Include admin pages such as site files.
Default is false
[Configuration]
public bool IncludeAdmin { get; }
Property Value
Remarks
- new in 15.04
- uses the immutable convention
IncludeDeleted
Include deleted pages in the recycle bin.
Default is false
[Configuration]
public bool IncludeDeleted { get; }
Property Value
Remarks
- new in 15.04
- uses the immutable convention
IncludeHidden
Include hidden pages.
Default is false
[Configuration]
public bool IncludeHidden { get; }
Property Value
Remarks
- new in 15.04
- uses the immutable convention
IncludeLinks
Include link-reference pages (which are usually used in menus, and not themselves a real page).
Default is true
[Configuration]
public bool IncludeLinks { get; }
Property Value
Remarks
- new in 15.04
- uses the immutable convention
IncludeSystem
Include system pages such as modules management.
Default is false
[Configuration]
public bool IncludeSystem { get; }
Property Value
Remarks
- new in 15.04
- uses the immutable convention
RequireEditPermissions
Require that the current user has edit permissions on all pages.
Default is false
[Configuration]
public bool RequireEditPermissions { get; }
Property Value
Remarks
- new in 15.04
- uses the immutable convention
RequireViewPermissions
Require that the current user has view permissions on all pages.
Default is true
[Configuration]
public bool RequireViewPermissions { get; }
Property Value
Remarks
- new in 15.04
- uses the immutable convention