Skip to content

Add-Rendering with specified Rendering Parameters overwrites unspecified Standard Values #1164

@bic742

Description

@bic742

Expected Behavior

When using the Add-Rendering command with specified rendering parameters, the rendering gets added with standard value rendering parameters, and then the specified parameters are overridden. The result is that all rendering parameters for the new rendering have a value.

Actual Behavior

When using the Add-Rendering command with specified rendering parameters, the rendering is added with the specified parameters and all other parameters are blank. This is effectively overriding the standard values for any parameter that is not manually specified.

Steps to Reproduce the Problem

Please include the version number of SPE and Sitecore.

  • Tested issue with clean install of Sitecore and the latest available version of SPE.

  • Asked questions on the Sitecore Slack Chat channel.

  • Reviewed questions and answers on the Sitecore Stack Exchange.

Metadata

Metadata

Assignees

Labels

area-commandsInvolves functions and cmdlets.🐞 bugOops! Sorry for the inconvenience.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions