Add-PlaceholderSetting
Last updated
Last updated
Adds a placeholder setting to a chosen device for the presentation of an item.
Adds a placeholder setting to a chosen device for the presentation of an item.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Database containing the item to be processed - can work with Language parameter to narrow the publication scope.
Aliases | None |
---|---|
Device the placeholder setting is assigned to. If not specified - default device will be used.
Targets the Final Layout. If not provided, the Shared Layout will be targeted. Applies to Sitecore 8.0 and higher only.
Id of the item to be processed - can work with Language parameter to narrow the publication scope.
Placeholder setting definition to be added to the item
The item to be processed.
The key for this placeholder setting - if not specified the value provided in the placeholder setting definition specified in the Instance parameter will be used.
Language that will be used as source language. If not specified the current user language will be used. Globbing/wildcard supported.
The metadata item Id for this placeholder setting - if not specified the value provided in the placeholder setting definition specified in the Instance parameter will be used.
Path to the item to be processed - can work with Language parameter to narrow the publication scope.
The input type is the type of the objects that you can pipe to the cmdlet.
Sitecore.Data.Items.Item
The output type is the type of the objects that the cmdlet emits.
System.Void
Help Author: Adam Najmanowicz, Michael West, Alex Washtell
Create item defining placeholder setting and add to an item
Create item defining placeholder setting and add to an item, overriding the key
Aliases | None |
---|---|
Aliases | None |
---|---|
Aliases | None |
---|---|
Aliases | PlaceholderSetting |
---|---|
Aliases | None |
---|---|
Aliases | None |
---|---|
Aliases | Languages |
---|---|
Aliases | None |
---|---|
Aliases | FullName, FileName |
---|---|
Required?
false
Position?
Named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
false
Position?
Named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
false
Position?
Named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
true
Position?
Named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
Required?
true
Position?
Named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
true
Position?
0
Default Value
Accept Pipeline Input?
true (ByValue, ByPropertyName)
Accept Wildcard Characters?
false
Required?
false
Position?
Named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
false
Position?
Named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
false
Position?
Named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
true
Position?
0
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false