Set-RenderingParameter
Adds and updates the specified rendering parameter from the rendering.
Syntax
Detailed Description
Adds and updates 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.
Required?
true
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Parameter <IDictionary>
The hashtable or dictionary of key/value pairs used to add/update rendering parameters.
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Overwrite <SwitchParameter>
Specifying this parameter will remove all existing rendering parameters and use the new collection provided.
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 updates the specified rendering parameter and updates the item.
Related Topics
Last updated