get-site-information
Retrieve a Sitecore site's definition and key paths—home, placeholder settings, renderings, data, and tenant folder—by site name or any item path to power 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. |