Gets the available rendering parameters found for a given rendering.
Get-RenderingParameter -Instance <RenderingDefinition> [-Name <String[]>]
Gets the available rendering parameters found for a given rendering.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Rendering definition containing the rendering parameters.
Aliases | |
---|---|
Required? | true |
Position? | named |
Default Value | |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
The names (or keys) identifying specific rendering parameters.
Aliases | |
---|---|
Required? | false |
Position? | named |
Default Value | |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
The input type is the type of the objects that you can pipe to the cmdlet.
- Sitecore.Layouts.RenderingDefinition
The output type is the type of the objects that the cmdlet emits.
- IDictionary
Help Author: Adam Najmanowicz, Michael West
The following gets all renderings for a given item and lists the available rendering parameters.
$item = Get-Item -Path "master" -ID "{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}"
foreach($itemRendering in Get-Rendering -Item $item -FinalLayout) {
Write-Host "Rendering UniqueId: $($itemRendering.UniqueId)"
Get-RenderingParameter -Rendering $itemRendering | Format-Table -Auto
}