Table of Contents

System Queries

you are here (click to zoom) - discover the stack

This is a very internal spec - you probably don't need this 😉.

System Queries are stored as json in DesktopModules\ToSic.Sxc\App_Data\system\....

Queries and Parameters

  1. System.Apps - retrieve all apps
    Parameters
    1. ZoneId
  2. System.Attributes - retrieve all the attributes of a content-type
    Parameters
    1. ContentTypeName
  3. System.ContentTypes - retrieve all content-types
    Parameters
    1. AppId
    2. Scope - possible values: Default, System.Fields, etc. but also * (new v20.00.09) to get all content-types in all scopes
  4. System.Pages - retrieve all pages of the current site (v15)
    Parameters no parameters
  5. System.Queries - retrieve all queries
    Parameters no parameters
  6. System.QueryInfo - retrieve all streams and fields of a query
    Parameters
    1. QueryName
    2. StreamName
  1. System.Scopes
  2. System.Settings
  3. System.Sites (published in v20.00.09) - retrieve all sites
  4. System.Resources
  5. System.Users
  6. System.UserRoles
  7. System.Zones - retrieve all zones (published in v20.00.09)
    Parameters no parameters

These are also some internal queries, which are not published for general use:

  1. System.BundleDetails (internal use)
  2. System.EntityPicker (internal use)
  3. System.Features (not yet ready for public use, could still change a lot)
  4. System.Licenses (not yet ready for public use, could still change a lot)
  5. System.MetadataTargetTypes (not yet ready for public use, could still change a lot)
  6. System.QueryInfo (primarily for internal use)
  7. System.SettingsEntities (primarily for internal use)

History

  1. Introduced in 2sxc 07.00
  2. In added in 2sxc 07.00
  3. Params added in 2sxc 10.22
  4. Old query names starting with Eav.Queries.Global were removed in 2sxc v20
Note

In v15 the names changed, to simply start with System.. The old names still work, but you should stop using them.