Sitecore PowerShell Extensions
Slack
YouTube
Stack Exchange
Donate
Search…
Introduction
Disclaimer
Installation
Training
Community
Interfaces
Working with Items
Modules
Remoting
Security
Releases
Troubleshooting
Code Snippets
Appendix
Common
Indexing
Packaging
Presentation
Add-PlaceholderSetting
Add-Rendering
Get-Layout
Get-LayoutDevice
Get-PlaceholderSetting
Get-Rendering
Get-RenderingParameter
Merge-Layout
New-PlaceholderSetting
New-Rendering
Remove-PlaceholderSetting
Remove-Rendering
Remove-RenderingParameter
Reset-Layout
Set-Layout
Set-Rendering
Set-RenderingParameter
Switch-Rendering
Provider
Security
Session
Powered By
GitBook
Remove-RenderingParameter
Removes the specified rendering parameter from the rendering.
Syntax
1
Remove-RenderingParameter
-
Instance <RenderingDefinition>
[
-
Name <String
[]
>
]
Copied!
Detailed Description
Removes the specified rendering parameter from the rendering.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Parameters
-Instance <RenderingDefinition>
Rendering definition containing the rendering parameters.
Aliases
Text
Required?
true
Position?
named
Default Value
​
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Name <String[]>
The names (or keys) identifying specific rendering parameters.
Aliases
Text
Required?
false
Position?
named
Default Value
​
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Sitecore.Layouts.RenderingDefinition
Outputs
The output type is the type of the objects that the cmdlet emits.
Sitecore.Layouts.RenderingDefinition
Notes
Help Author: Adam Najmanowicz, Michael West
Examples
EXAMPLE
The following removes the specified rendering parameter and updates the item.
1
$item
=
Get-Item
-
Path
"master"
-
ID
"{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}"
2
​
3
Get-Rendering
-
Item
$item
-
FinalLayout
|
4
Remove-RenderingParameter
-
Name
"SampleKey2"
|
5
Set-Rendering
-
Item
$item
-
FinalLayout
Copied!
Related Topics
​
https://github.com/SitecorePowerShell/Console/
​
​
New-Rendering
​
​
Set-Rendering
​
​
Get-Rendering
​
​
Get-LayoutDevice
​
​
Remove-Rendering
​
​
Get-Layout
​
​
Set-Layout
​
Previous
Remove-Rendering
Next
Reset-Layout
Last modified
10d ago
Export as PDF
Copy link
Contents
Syntax
Detailed Description
Parameters
-Instance <RenderingDefinition>
-Name <String[]>
Inputs
Outputs
Notes
Examples
EXAMPLE
Related Topics