get-site-information
Resolve a Sitecore site by name or item path, returning its definition and key roots—home, placeholder settings, renderings, shared data, and tenant—for composition tools.
Instructions
Returns one site's definition plus the paths the composition tools need: the home item, the site-level Placeholder Settings root, the Available Renderings root, the shared Data folder, the site definition item, and the project (tenant) folder used to resolve global placeholder settings. Address the site by name, or by any item path inside it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Any item path inside the site, used to work out which site is meant (e.g. /sitecore/content/Stride/Cova/Home). Supply this or siteName. | |
| database | No | The database to read. Defaults to the site's own database, or master. | |
| siteName | No | The site name as Sitecore knows it (e.g. 'Cova'). Use list-sites to see the names. Supply this or path. |