Desked Data Sources
Although data sources are primarily intended to be used as the "back end" of widgets, they can also be used independently by editorial staff as a means of creating automated lists. If a data source is desked directly on an ordinary section page, then it behaves something like a list: on the published page, it is replaced by the content items that it retrieves.
Data source nesting
A data source with a "by section group" query selects content
items from a section page group, and that section page group may
itself contain a data source. This kind of data source nesting is
allowed, but limited in order to prevent complex chains of nested
data sources and/or loops. The limit can be set by configuring the
Widget Framework's
/com/escenic/framework/datasource/fetcher/DeskedItemFetcher
component. This component has a
maxDatasourceNestingLevel
property that limits
nesting as follows:
maxDatasourceNestingLevel |
Meaning |
---|---|
0 |
Desked data sources are ignored |
1 |
Desked data sources are used, but any further nesting is ignored |
2 |
Desked data sources are used. If a desked data source selects from a section page group containing another data source, then that data will be used, but any further nesting is ignored |
n... |
And so on ... |
By default, maxDatasourceNestingLevel
is
set to 1
.