1. Component library

EntityDataSource

Version:

You use the EntityDataSource component to fetch one entity (“business object”) from a repository. The component uses the EntityService member from Sitecore.Services.Client to fetch the entity.

Properties

NameDescriptionDefault
Data
EntityIDThe unique ID of the entity you want to fetch.
IsBusyTrue if the component is in the process of retrieving data from the server (read-only).
ServiceUrlThe root end point of the RESTful API of the service, for example: /api/Sitecore/ssc/product.

Configuration

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

The configuration item has these specific fields:

  • ServiceUrl
  • EntityID
  • IsBusy

It inherits these fields:

  • IsVisible
  • AccessKey
  • Tooltip
  • Behaviors
  • Id
If you have suggestions for improving this article, let us know!