common-get-item-template
Retrieve template information for a Sitecore item by ID or path, optionally including extra fields, to inspect an item's template.
Instructions
Gets template information for a Sitecore item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to retrieve template information for. Supply this or path. | |
| full | No | Return the unprojected .NET object graph. Very large (100,000+ chars/item); diagnostics only. | |
| path | No | The path of the item to retrieve template information for (e.g. /sitecore/content/Home). Supply this or id. | |
| fields | No | Extra Sitecore field names to include, e.g. ['Title']. Ignored when full is true. | |
| database | No | Database to resolve an id against (default master). |