StoredQueryDataSource

Current version: 8.0

You use the StoredQueryDataSource component to fetch items from Sitecore. The component uses ItemService from Sitecore.Services.Client to fetch the items.

Properties

Name

Description

Default

Data

Database

Specify the database to retrieve the item from.

Fields

Specify the names of the fields to retrieve in a comma-separated list.

IncludeStandardTemplateFields

If true, the standard template fields are part of the data that is retrieved.

IsBusy

True if the component is in the process of retrieving data from the server (read-only).

Items

This read-only property contains the retrieved items.

Language

Specify the language version of the items you want to search in.

QueryID

Specify the ID of the Sitecore item that contains the definition of the query to run.

Paging

PageIndex

Specify the page number in the result set of pages that the component shows.

PageSize

Specify the number of results the component returns.

Configuration

You can create a configuration item for a StoredQueryDataSource component by creating an item based on the StoredQueryDataSource Parameters template.

The configuration item has these specific fields:

  • QueryID

  • IsBusy

  • Items

  • IncludeStandardTemplateField

  • It inherits these fields:

  • Database

  • Fields

  • PageSize

  • PageIndex

  • Language

  • Behaviors

  • Id

Do you have some feedback for us?

If you have suggestions for improving this article,