EntityDataSource
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
|
Name |
Description |
Default |
|---|---|---|
|
Data | ||
|
EntityID |
The unique ID of the entity you want to fetch. | |
|
IsBusy |
True if the component is in the process of retrieving data from the server (read-only). | |
|
ServiceUrl |
The root end point of the RESTful API of the service, for example: | |
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