Table of Contents

Namespace ToSic.Sxc.DataSources

This contains new DataSources for EAV, which only 2sxc can provide. It extends the standard EAV Data-Sources.

Classes

CmsBlock

This data-source delivers the core data for a CMS Block.
It will look up the configuration in the CMS (like the Module-Settings in DNN) to determine what data is needed for the block.
Usually it will then find a reference to a ContentBlock, from which it determines what content-items are assigned.
It could also find that the template specifies a query, in which case it would retrieve that.
Was previously called ModuleDataSource

Pages

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 PageDataRaw

Roles

Will get all (or just some) roles of the current site.

Sites

Deliver a list of sites from the Oqtane

As of now there are no parameters to set.

To figure out the properties returned and what they match up to, see SiteDataRaw

Users

Will get all (or just some) users of the current site. The resulting Entity will match the ToSic.Eav.Context.IUser interface.