Datasource location strategies for the JSS import process
When creating datasource items for renderings, the import process utilizes the datasourceStrategy
value in the app configuration to look up an implementation of IDatasourceStrategy
configured in the app configuration section /javaScriptServices/datasourceStrategies
.
The import process uses an implementation of IDatasourceStrategy
to determine the allowed datasource locations for any created renderings, and the parent folder for any created datasource items.
You can use one of the following values to set the datasourceStrategy
configuration option:
Strategy |
Description |
---|---|
|
Datasource location and parent is a folder named for the datasource template, created at the path specified in |
|
Datasource location and parent is a single folder under each route item whose name is indicated in |
|
Configures both |
|
Configures both |