@antonytm/mcp-sitecore-server 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/bundle.js +106 -12
- package/dist/register.js +7 -0
- package/dist/register.js.map +1 -1
- package/dist/tools/powershell/documentation/add-basetemplate.md +137 -0
- package/dist/tools/powershell/documentation/add-itemacl.md +254 -0
- package/dist/tools/powershell/documentation/add-itemversion.md +231 -0
- package/dist/tools/powershell/documentation/add-placeholdersetting.md +410 -0
- package/dist/tools/powershell/documentation/add-rendering.md +217 -0
- package/dist/tools/powershell/documentation/add-rolemember.md +88 -0
- package/dist/tools/powershell/documentation/clear-itemacl.md +131 -0
- package/dist/tools/powershell/documentation/close-window.md +32 -0
- package/dist/tools/powershell/documentation/commands-list.md +134 -0
- package/dist/tools/powershell/documentation/convertfrom-clixml.md +67 -0
- package/dist/tools/powershell/documentation/convertfrom-itemclone.md +118 -0
- package/dist/tools/powershell/documentation/convertto-clixml.md +66 -0
- package/dist/tools/powershell/documentation/disable-user.md +89 -0
- package/dist/tools/powershell/documentation/enable-user.md +89 -0
- package/dist/tools/powershell/documentation/expand-token.md +144 -0
- package/dist/tools/powershell/documentation/export-item.md +165 -0
- package/dist/tools/powershell/documentation/export-package.md +129 -0
- package/dist/tools/powershell/documentation/export-role.md +150 -0
- package/dist/tools/powershell/documentation/export-updatepackage.md +111 -0
- package/dist/tools/powershell/documentation/export-user.md +147 -0
- package/dist/tools/powershell/documentation/find-item.md +718 -0
- package/dist/tools/powershell/documentation/get-archive.md +73 -0
- package/dist/tools/powershell/documentation/get-archiveitem.md +138 -0
- package/dist/tools/powershell/documentation/get-cache.md +62 -0
- package/dist/tools/powershell/documentation/get-database.md +96 -0
- package/dist/tools/powershell/documentation/get-domain.md +75 -0
- package/dist/tools/powershell/documentation/get-item.md +186 -0
- package/dist/tools/powershell/documentation/get-itemacl.md +168 -0
- package/dist/tools/powershell/documentation/get-itemclone.md +100 -0
- package/dist/tools/powershell/documentation/get-itemclonenotification.md +95 -0
- package/dist/tools/powershell/documentation/get-itemfield.md +182 -0
- package/dist/tools/powershell/documentation/get-itemreference.md +152 -0
- package/dist/tools/powershell/documentation/get-itemreferrer.md +154 -0
- package/dist/tools/powershell/documentation/get-itemtemplate.md +152 -0
- package/dist/tools/powershell/documentation/get-itemworkflowevent.md +133 -0
- package/dist/tools/powershell/documentation/get-layout.md +142 -0
- package/dist/tools/powershell/documentation/get-layoutdevice.md +97 -0
- package/dist/tools/powershell/documentation/get-package.md +63 -0
- package/dist/tools/powershell/documentation/get-placeholdersetting.md +477 -0
- package/dist/tools/powershell/documentation/get-preset.md +70 -0
- package/dist/tools/powershell/documentation/get-rendering.md +248 -0
- package/dist/tools/powershell/documentation/get-renderingparameter.md +84 -0
- package/dist/tools/powershell/documentation/get-role.md +134 -0
- package/dist/tools/powershell/documentation/get-rolemember.md +131 -0
- package/dist/tools/powershell/documentation/get-scriptsession.md +128 -0
- package/dist/tools/powershell/documentation/get-searchindex.md +92 -0
- package/dist/tools/powershell/documentation/get-session.md +107 -0
- package/dist/tools/powershell/documentation/get-sitecorejob.md +102 -0
- package/dist/tools/powershell/documentation/get-spemodule.md +134 -0
- package/dist/tools/powershell/documentation/get-spemodulefeatureroot.md +113 -0
- package/dist/tools/powershell/documentation/get-taskschedule.md +136 -0
- package/dist/tools/powershell/documentation/get-updatepackagediff.md +110 -0
- package/dist/tools/powershell/documentation/get-user.md +193 -0
- package/dist/tools/powershell/documentation/get-useragent.md +38 -0
- package/dist/tools/powershell/documentation/import-function.md +83 -0
- package/dist/tools/powershell/documentation/import-item-1.md +180 -0
- package/dist/tools/powershell/documentation/import-item.md +180 -0
- package/dist/tools/powershell/documentation/import-role.md +137 -0
- package/dist/tools/powershell/documentation/import-user.md +137 -0
- package/dist/tools/powershell/documentation/initialize-item.md +87 -0
- package/dist/tools/powershell/documentation/initialize-searchindex.md +116 -0
- package/dist/tools/powershell/documentation/initialize-searchindexitem.md +85 -0
- package/dist/tools/powershell/documentation/install-package.md +95 -0
- package/dist/tools/powershell/documentation/install-updatepackage.md +90 -0
- package/dist/tools/powershell/documentation/invoke-javascript.md +22 -0
- package/dist/tools/powershell/documentation/invoke-script.md +111 -0
- package/dist/tools/powershell/documentation/invoke-shellcommand.md +144 -0
- package/dist/tools/powershell/documentation/invoke-workflow.md +142 -0
- package/dist/tools/powershell/documentation/lock-item.md +157 -0
- package/dist/tools/powershell/documentation/login-user.md +56 -0
- package/dist/tools/powershell/documentation/logout-user.md +30 -0
- package/dist/tools/powershell/documentation/merge-layout.md +102 -0
- package/dist/tools/powershell/documentation/new-domain.md +72 -0
- package/dist/tools/powershell/documentation/new-explicitfilesource.md +104 -0
- package/dist/tools/powershell/documentation/new-explicititemsource.md +146 -0
- package/dist/tools/powershell/documentation/new-filesource.md +128 -0
- package/dist/tools/powershell/documentation/new-itemacl.md +175 -0
- package/dist/tools/powershell/documentation/new-itemclone.md +139 -0
- package/dist/tools/powershell/documentation/new-itemsource.md +171 -0
- package/dist/tools/powershell/documentation/new-itemworkflowevent.md +140 -0
- package/dist/tools/powershell/documentation/new-package.md +81 -0
- package/dist/tools/powershell/documentation/new-placeholdersetting.md +255 -0
- package/dist/tools/powershell/documentation/new-rendering.md +243 -0
- package/dist/tools/powershell/documentation/new-role.md +56 -0
- package/dist/tools/powershell/documentation/new-securitysource.md +176 -0
- package/dist/tools/powershell/documentation/new-user.md +161 -0
- package/dist/tools/powershell/documentation/new-usingblock.md +95 -0
- package/dist/tools/powershell/documentation/out-download.md +123 -0
- package/dist/tools/powershell/documentation/protect-item.md +120 -0
- package/dist/tools/powershell/documentation/publish-item.md +224 -0
- package/dist/tools/powershell/documentation/read-variable.md +252 -0
- package/dist/tools/powershell/documentation/receive-file.md +244 -0
- package/dist/tools/powershell/documentation/receive-itemclonenotification.md +116 -0
- package/dist/tools/powershell/documentation/receive-scriptsession.md +108 -0
- package/dist/tools/powershell/documentation/remove-archiveitem.md +125 -0
- package/dist/tools/powershell/documentation/remove-basetemplate.md +137 -0
- package/dist/tools/powershell/documentation/remove-domain.md +70 -0
- package/dist/tools/powershell/documentation/remove-itemversion.md +209 -0
- package/dist/tools/powershell/documentation/remove-layout.md +151 -0
- package/dist/tools/powershell/documentation/remove-placeholdersetting.md +478 -0
- package/dist/tools/powershell/documentation/remove-rendering.md +253 -0
- package/dist/tools/powershell/documentation/remove-renderingparameter.md +83 -0
- package/dist/tools/powershell/documentation/remove-role.md +70 -0
- package/dist/tools/powershell/documentation/remove-rolemember.md +79 -0
- package/dist/tools/powershell/documentation/remove-scriptsession.md +72 -0
- package/dist/tools/powershell/documentation/remove-searchindexitem.md +79 -0
- package/dist/tools/powershell/documentation/remove-session.md +77 -0
- package/dist/tools/powershell/documentation/remove-user.md +97 -0
- package/dist/tools/powershell/documentation/reset-itemfield.md +149 -0
- package/dist/tools/powershell/documentation/reset-layout.md +130 -0
- package/dist/tools/powershell/documentation/restart-application.md +30 -0
- package/dist/tools/powershell/documentation/restore-archiveitem.md +126 -0
- package/dist/tools/powershell/documentation/resume-searchindex.md +84 -0
- package/dist/tools/powershell/documentation/send-file.md +160 -0
- package/dist/tools/powershell/documentation/send-sheermessage.md +66 -0
- package/dist/tools/powershell/documentation/set-hostproperty.md +90 -0
- package/dist/tools/powershell/documentation/set-itemacl.md +158 -0
- package/dist/tools/powershell/documentation/set-itemtemplate.md +156 -0
- package/dist/tools/powershell/documentation/set-layout.md +166 -0
- package/dist/tools/powershell/documentation/set-rendering.md +213 -0
- package/dist/tools/powershell/documentation/set-renderingparameter.md +97 -0
- package/dist/tools/powershell/documentation/set-user.md +221 -0
- package/dist/tools/powershell/documentation/set-userpassword.md +109 -0
- package/dist/tools/powershell/documentation/show-alert.md +53 -0
- package/dist/tools/powershell/documentation/show-application.md +150 -0
- package/dist/tools/powershell/documentation/show-confirm.md +61 -0
- package/dist/tools/powershell/documentation/show-fieldeditor.md +231 -0
- package/dist/tools/powershell/documentation/show-input.md +129 -0
- package/dist/tools/powershell/documentation/show-listview.md +276 -0
- package/dist/tools/powershell/documentation/show-modaldialog.md +137 -0
- package/dist/tools/powershell/documentation/show-result.md +158 -0
- package/dist/tools/powershell/documentation/show-yesnocancel.md +92 -0
- package/dist/tools/powershell/documentation/start-scriptsession.md +230 -0
- package/dist/tools/powershell/documentation/start-taskschedule.md +124 -0
- package/dist/tools/powershell/documentation/stop-scriptsession.md +78 -0
- package/dist/tools/powershell/documentation/stop-searchindex.md +84 -0
- package/dist/tools/powershell/documentation/suspend-searchindex.md +84 -0
- package/dist/tools/powershell/documentation/switch-rendering.md +248 -0
- package/dist/tools/powershell/documentation/test-account.md +74 -0
- package/dist/tools/powershell/documentation/test-basetemplate.md +97 -0
- package/dist/tools/powershell/documentation/test-itemacl.md +182 -0
- package/dist/tools/powershell/documentation/test-rule.md +111 -0
- package/dist/tools/powershell/documentation/unlock-item.md +124 -0
- package/dist/tools/powershell/documentation/unlock-user.md +84 -0
- package/dist/tools/powershell/documentation/unprotect-item.md +124 -0
- package/dist/tools/powershell/documentation/update-itemreferrer.md +234 -0
- package/dist/tools/powershell/documentation/update-listview.md +139 -0
- package/dist/tools/powershell/documentation/update-searchindexitem.md +79 -0
- package/dist/tools/powershell/documentation/wait-scriptsession.md +100 -0
- package/dist/tools/powershell/documentation/write-log.md +82 -0
- package/dist/tools/powershell/get-powershell-documentation.d.ts +2 -0
- package/dist/tools/powershell/get-powershell-documentation.js +47 -0
- package/dist/tools/powershell/get-powershell-documentation.js.map +1 -0
- package/dist/tools/powershell/run-powershell-script.d.ts +3 -0
- package/dist/tools/powershell/run-powershell-script.js +13 -0
- package/dist/tools/powershell/run-powershell-script.js.map +1 -0
- package/dist/tools/sitecore-cli/get-sitecore-cli-documentation.d.ts +3 -0
- package/dist/tools/sitecore-cli/get-sitecore-cli-documentation.js +24 -0
- package/dist/tools/sitecore-cli/get-sitecore-cli-documentation.js.map +1 -0
- package/dist/tools/sitecore-cli/sitecore-cli-documentation.md +70 -0
- package/package.json +8 -8
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# Remove-Layout
|
|
2
|
+
|
|
3
|
+
Removes item layout for a device.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
```powershell
|
|
8
|
+
Remove-Layout [-Item] <Item> -Device <DeviceItem> [-Layout <Item>] [-FinalLayout] [-Language <String[]>]
|
|
9
|
+
|
|
10
|
+
Remove-Layout [-Path] <String> -Device <DeviceItem> [-Layout <Item>] [-FinalLayout] [-Language <String[]>]
|
|
11
|
+
|
|
12
|
+
Remove-Layout -Id <String> [-Database <String>] -Device <DeviceItem> [-Layout <Item>] [-FinalLayout] [-Language <String[]>]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Detailed Description
|
|
16
|
+
|
|
17
|
+
Removes item layout for the specified device.
|
|
18
|
+
|
|
19
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
20
|
+
|
|
21
|
+
## Parameters
|
|
22
|
+
|
|
23
|
+
### -Device <DeviceItem>
|
|
24
|
+
|
|
25
|
+
Device for which to set layout.
|
|
26
|
+
|
|
27
|
+
| Aliases | |
|
|
28
|
+
| :--- | :--- |
|
|
29
|
+
| Required? | true |
|
|
30
|
+
| Position? | named |
|
|
31
|
+
| Default Value | |
|
|
32
|
+
| Accept Pipeline Input? | false |
|
|
33
|
+
| Accept Wildcard Characters? | false |
|
|
34
|
+
|
|
35
|
+
### -Layout <Item>
|
|
36
|
+
|
|
37
|
+
Sitecore item defining the layout.
|
|
38
|
+
|
|
39
|
+
| Aliases | |
|
|
40
|
+
| :--- | :--- |
|
|
41
|
+
| Required? | false |
|
|
42
|
+
| Position? | named |
|
|
43
|
+
| Default Value | |
|
|
44
|
+
| Accept Pipeline Input? | false |
|
|
45
|
+
| Accept Wildcard Characters? | false |
|
|
46
|
+
|
|
47
|
+
### -FinalLayout <SwitchParameter>
|
|
48
|
+
|
|
49
|
+
Targets the Final Layout. If not provided, the Shared Layout will be targeted. Applies to Sitecore 8.0 and higher only.
|
|
50
|
+
|
|
51
|
+
| Aliases | |
|
|
52
|
+
| :--- | :--- |
|
|
53
|
+
| Required? | false |
|
|
54
|
+
| Position? | named |
|
|
55
|
+
| Default Value | |
|
|
56
|
+
| Accept Pipeline Input? | false |
|
|
57
|
+
| Accept Wildcard Characters? | false |
|
|
58
|
+
|
|
59
|
+
### -Language <String\[\]>
|
|
60
|
+
|
|
61
|
+
| Aliases | |
|
|
62
|
+
| :--- | :--- |
|
|
63
|
+
| Required? | false |
|
|
64
|
+
| Position? | named |
|
|
65
|
+
| Default Value | |
|
|
66
|
+
| Accept Pipeline Input? | false |
|
|
67
|
+
| Accept Wildcard Characters? | false |
|
|
68
|
+
|
|
69
|
+
### -Item <Item>
|
|
70
|
+
|
|
71
|
+
The item to be processed.
|
|
72
|
+
|
|
73
|
+
| Aliases | |
|
|
74
|
+
| :--- | :--- |
|
|
75
|
+
| Required? | true |
|
|
76
|
+
| Position? | 1 |
|
|
77
|
+
| Default Value | |
|
|
78
|
+
| Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
|
|
79
|
+
| Accept Wildcard Characters? | false |
|
|
80
|
+
|
|
81
|
+
### -Path <String>
|
|
82
|
+
|
|
83
|
+
Path to the item to be processed - can work with Language parameter to narrow the publication scope.
|
|
84
|
+
|
|
85
|
+
| Aliases | |
|
|
86
|
+
| :--- | :--- |
|
|
87
|
+
| Required? | true |
|
|
88
|
+
| Position? | 1 |
|
|
89
|
+
| Default Value | |
|
|
90
|
+
| Accept Pipeline Input? | false |
|
|
91
|
+
| Accept Wildcard Characters? | false |
|
|
92
|
+
|
|
93
|
+
### -Id <String>
|
|
94
|
+
|
|
95
|
+
Id of the item to be processed - can work with Language parameter to narrow the publication scope.
|
|
96
|
+
|
|
97
|
+
| Aliases | |
|
|
98
|
+
| :--- | :--- |
|
|
99
|
+
| Required? | true |
|
|
100
|
+
| Position? | named |
|
|
101
|
+
| Default Value | |
|
|
102
|
+
| Accept Pipeline Input? | false |
|
|
103
|
+
| Accept Wildcard Characters? | false |
|
|
104
|
+
|
|
105
|
+
### -Database <String>
|
|
106
|
+
|
|
107
|
+
Database containing the item to be processed - can work with Language parameter to narrow the publication scope.
|
|
108
|
+
|
|
109
|
+
| Aliases | |
|
|
110
|
+
| :--- | :--- |
|
|
111
|
+
| Required? | false |
|
|
112
|
+
| Position? | named |
|
|
113
|
+
| Default Value | |
|
|
114
|
+
| Accept Pipeline Input? | false |
|
|
115
|
+
| Accept Wildcard Characters? | false |
|
|
116
|
+
|
|
117
|
+
## Inputs
|
|
118
|
+
|
|
119
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
120
|
+
|
|
121
|
+
* Sitecore.Data.Items.Item
|
|
122
|
+
|
|
123
|
+
## Notes
|
|
124
|
+
|
|
125
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
126
|
+
|
|
127
|
+
## Examples
|
|
128
|
+
|
|
129
|
+
### EXAMPLE 1
|
|
130
|
+
|
|
131
|
+
```powershell
|
|
132
|
+
$itemId = "{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}"
|
|
133
|
+
$item = Get-Item -Path "master:" -ID "{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}"
|
|
134
|
+
$layoutDevice = Get-LayoutDevice -Name "Print"
|
|
135
|
+
|
|
136
|
+
Remove-Layout -Item $item -Device $layoutDevice -FinalLayout
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## Related Topics
|
|
140
|
+
|
|
141
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
142
|
+
* [Add-Rendering](add-rendering.md)
|
|
143
|
+
* [New-Rendering](new-rendering.md)
|
|
144
|
+
* [Set-Rendering](set-rendering.md)
|
|
145
|
+
* [Get-Rendering](get-rendering.md)
|
|
146
|
+
* [Get-LayoutDevice](get-layoutdevice.md)
|
|
147
|
+
* [Remove-Rendering](remove-rendering.md)
|
|
148
|
+
* [Get-Layout](get-layout.md)
|
|
149
|
+
* [Reset-Layout](reset-layout.md)
|
|
150
|
+
* [#579](https://github.com/SitecorePowerShell/Console/issues/579)
|
|
151
|
+
* [#1111](https://github.com/SitecorePowerShell/Console/issues/1111)
|
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
# Remove-PlaceholderSetting
|
|
2
|
+
|
|
3
|
+
Removes placeholder setting(s) from an item using the filtering parameters.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
```powershell
|
|
8
|
+
Remove-PlaceholderSetting -Item <Item> [-Key <string>] [-PlaceholderSetting <Item>] [-Index <int>] [-Device <DeviceItem>] [-FinalLayout] [-Language <string[]>]
|
|
9
|
+
|
|
10
|
+
Remove-PlaceholderSetting -Item <Item> -Instance <PlaceholderDefinition> [-Device <DeviceItem>] [-FinalLayout] [-Language <string[]>]
|
|
11
|
+
|
|
12
|
+
Remove-PlaceholderSetting -Item <Item> -UniqueId <string> [-Device <DeviceItem>] [-FinalLayout] [-Language <string[]>]
|
|
13
|
+
|
|
14
|
+
Remove-PlaceholderSetting -Path <string> [-Key <string>] [-PlaceholderSetting <Item>] [-Index <int>] [-Device <DeviceItem>] [-FinalLayout] [-Language <string[]>]
|
|
15
|
+
|
|
16
|
+
Remove-PlaceholderSetting -Path <string> -Instance <PlaceholderDefinition> [-Device <DeviceItem>] [-FinalLayout] [-Language <string[]>]
|
|
17
|
+
|
|
18
|
+
Remove-PlaceholderSetting -Path <string> -UniqueId <string> [-Device <DeviceItem>] [-FinalLayout] [-Language <string[]>]
|
|
19
|
+
|
|
20
|
+
Remove-PlaceholderSetting [-Id <string>] [-Database <string>] [-Key <string>] [-PlaceholderSetting <Item>] [-Index <int>] [-Device <DeviceItem>] [-FinalLayout] [-Language <string[]>]
|
|
21
|
+
|
|
22
|
+
Remove-PlaceholderSetting -Instance <PlaceholderDefinition> [-Id <string>] [-Database <string>] [-Device <DeviceItem>] [-FinalLayout] [-Language <string[]>]
|
|
23
|
+
|
|
24
|
+
Remove-PlaceholderSetting -UniqueId <string> [-Id <string>] [-Database <string>] [-Device <DeviceItem>] [-FinalLayout] [-Language <string[]>]
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Detailed Description
|
|
28
|
+
|
|
29
|
+
Removes placeholder setting(s) from an item using the filtering parameters.
|
|
30
|
+
|
|
31
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
32
|
+
|
|
33
|
+
## Parameters
|
|
34
|
+
|
|
35
|
+
### -Database <string>
|
|
36
|
+
|
|
37
|
+
Database containing the item to be processed - can work with Language parameter to narrow the publication scope.
|
|
38
|
+
|
|
39
|
+
<table>
|
|
40
|
+
<thead></thead>
|
|
41
|
+
<tbody>
|
|
42
|
+
<tr>
|
|
43
|
+
<td>Aliases</td>
|
|
44
|
+
<td>None</td>
|
|
45
|
+
</tr>
|
|
46
|
+
<tr>
|
|
47
|
+
<td>Required?</td>
|
|
48
|
+
<td>false</td>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<td>Position?</td>
|
|
52
|
+
<td>Named</td>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<td>Default Value</td>
|
|
56
|
+
<td></td>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr>
|
|
59
|
+
<td>Accept Pipeline Input?</td>
|
|
60
|
+
<td>false</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td>Accept Wildcard Characters?</td>
|
|
64
|
+
<td>false</td>
|
|
65
|
+
</tr>
|
|
66
|
+
</tbody>
|
|
67
|
+
</table>
|
|
68
|
+
|
|
69
|
+
### -Device <DeviceItem>
|
|
70
|
+
|
|
71
|
+
Device for which the placeholder settings will be removed.
|
|
72
|
+
|
|
73
|
+
<table>
|
|
74
|
+
<thead></thead>
|
|
75
|
+
<tbody>
|
|
76
|
+
<tr>
|
|
77
|
+
<td>Aliases</td>
|
|
78
|
+
<td>None</td>
|
|
79
|
+
</tr>
|
|
80
|
+
<tr>
|
|
81
|
+
<td>Required?</td>
|
|
82
|
+
<td>false</td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr>
|
|
85
|
+
<td>Position?</td>
|
|
86
|
+
<td>Named</td>
|
|
87
|
+
</tr>
|
|
88
|
+
<tr>
|
|
89
|
+
<td>Default Value</td>
|
|
90
|
+
<td></td>
|
|
91
|
+
</tr>
|
|
92
|
+
<tr>
|
|
93
|
+
<td>Accept Pipeline Input?</td>
|
|
94
|
+
<td>false</td>
|
|
95
|
+
</tr>
|
|
96
|
+
<tr>
|
|
97
|
+
<td>Accept Wildcard Characters?</td>
|
|
98
|
+
<td>false</td>
|
|
99
|
+
</tr>
|
|
100
|
+
</tbody>
|
|
101
|
+
</table>
|
|
102
|
+
|
|
103
|
+
### -FinalLayout <switch>
|
|
104
|
+
|
|
105
|
+
Targets the Final Layout. If not provided, the Shared Layout will be targeted. Applies to Sitecore 8.0 and higher only.
|
|
106
|
+
|
|
107
|
+
<table>
|
|
108
|
+
<thead></thead>
|
|
109
|
+
<tbody>
|
|
110
|
+
<tr>
|
|
111
|
+
<td>Aliases</td>
|
|
112
|
+
<td>None</td>
|
|
113
|
+
</tr>
|
|
114
|
+
<tr>
|
|
115
|
+
<td>Required?</td>
|
|
116
|
+
<td>false</td>
|
|
117
|
+
</tr>
|
|
118
|
+
<tr>
|
|
119
|
+
<td>Position?</td>
|
|
120
|
+
<td>Named</td>
|
|
121
|
+
</tr>
|
|
122
|
+
<tr>
|
|
123
|
+
<td>Default Value</td>
|
|
124
|
+
<td></td>
|
|
125
|
+
</tr>
|
|
126
|
+
<tr>
|
|
127
|
+
<td>Accept Pipeline Input?</td>
|
|
128
|
+
<td>false</td>
|
|
129
|
+
</tr>
|
|
130
|
+
<tr>
|
|
131
|
+
<td>Accept Wildcard Characters?</td>
|
|
132
|
+
<td>false</td>
|
|
133
|
+
</tr>
|
|
134
|
+
</tbody>
|
|
135
|
+
</table>
|
|
136
|
+
|
|
137
|
+
### -Id <string>
|
|
138
|
+
|
|
139
|
+
Id of the item to be processed - can work with Language parameter to narrow the publication scope.
|
|
140
|
+
|
|
141
|
+
<table>
|
|
142
|
+
<thead></thead>
|
|
143
|
+
<tbody>
|
|
144
|
+
<tr>
|
|
145
|
+
<td>Aliases</td>
|
|
146
|
+
<td>None</td>
|
|
147
|
+
</tr>
|
|
148
|
+
<tr>
|
|
149
|
+
<td>Required?</td>
|
|
150
|
+
<td>false</td>
|
|
151
|
+
</tr>
|
|
152
|
+
<tr>
|
|
153
|
+
<td>Position?</td>
|
|
154
|
+
<td>Named</td>
|
|
155
|
+
</tr>
|
|
156
|
+
<tr>
|
|
157
|
+
<td>Default Value</td>
|
|
158
|
+
<td></td>
|
|
159
|
+
</tr>
|
|
160
|
+
<tr>
|
|
161
|
+
<td>Accept Pipeline Input?</td>
|
|
162
|
+
<td>false</td>
|
|
163
|
+
</tr>
|
|
164
|
+
<tr>
|
|
165
|
+
<td>Accept Wildcard Characters?</td>
|
|
166
|
+
<td>false</td>
|
|
167
|
+
</tr>
|
|
168
|
+
</tbody>
|
|
169
|
+
</table>
|
|
170
|
+
|
|
171
|
+
### -Index <int>
|
|
172
|
+
|
|
173
|
+
Index at which the placeholder setting exists in the layout. The placeholder setting at that index will be removed.
|
|
174
|
+
|
|
175
|
+
<table>
|
|
176
|
+
<thead></thead>
|
|
177
|
+
<tbody>
|
|
178
|
+
<tr>
|
|
179
|
+
<td>Aliases</td>
|
|
180
|
+
<td>None</td>
|
|
181
|
+
</tr>
|
|
182
|
+
<tr>
|
|
183
|
+
<td>Required?</td>
|
|
184
|
+
<td>false</td>
|
|
185
|
+
</tr>
|
|
186
|
+
<tr>
|
|
187
|
+
<td>Position?</td>
|
|
188
|
+
<td>Named</td>
|
|
189
|
+
</tr>
|
|
190
|
+
<tr>
|
|
191
|
+
<td>Default Value</td>
|
|
192
|
+
<td></td>
|
|
193
|
+
</tr>
|
|
194
|
+
<tr>
|
|
195
|
+
<td>Accept Pipeline Input?</td>
|
|
196
|
+
<td>false</td>
|
|
197
|
+
</tr>
|
|
198
|
+
<tr>
|
|
199
|
+
<td>Accept Wildcard Characters?</td>
|
|
200
|
+
<td>false</td>
|
|
201
|
+
</tr>
|
|
202
|
+
</tbody>
|
|
203
|
+
</table>
|
|
204
|
+
|
|
205
|
+
### -Instance <PlaceholderDefinition>
|
|
206
|
+
|
|
207
|
+
Specific instance of placeholder setting that should be removed. The instance could earlier be obtained through e.g. use of Get-PlaceholderSetting.
|
|
208
|
+
|
|
209
|
+
<table>
|
|
210
|
+
<thead></thead>
|
|
211
|
+
<tbody>
|
|
212
|
+
<tr>
|
|
213
|
+
<td>Aliases</td>
|
|
214
|
+
<td>None</td>
|
|
215
|
+
</tr>
|
|
216
|
+
<tr>
|
|
217
|
+
<td>Required?</td>
|
|
218
|
+
<td>true</td>
|
|
219
|
+
</tr>
|
|
220
|
+
<tr>
|
|
221
|
+
<td>Position?</td>
|
|
222
|
+
<td>Named</td>
|
|
223
|
+
</tr>
|
|
224
|
+
<tr>
|
|
225
|
+
<td>Default Value</td>
|
|
226
|
+
<td></td>
|
|
227
|
+
</tr>
|
|
228
|
+
<tr>
|
|
229
|
+
<td>Accept Pipeline Input?</td>
|
|
230
|
+
<td>false</td>
|
|
231
|
+
</tr>
|
|
232
|
+
<tr>
|
|
233
|
+
<td>Accept Wildcard Characters?</td>
|
|
234
|
+
<td>false</td>
|
|
235
|
+
</tr>
|
|
236
|
+
</tbody>
|
|
237
|
+
</table>
|
|
238
|
+
|
|
239
|
+
### -Item <Item>
|
|
240
|
+
|
|
241
|
+
The item to be processed.
|
|
242
|
+
|
|
243
|
+
<table>
|
|
244
|
+
<thead></thead>
|
|
245
|
+
<tbody>
|
|
246
|
+
<tr>
|
|
247
|
+
<td>Aliases</td>
|
|
248
|
+
<td>None</td>
|
|
249
|
+
</tr>
|
|
250
|
+
<tr>
|
|
251
|
+
<td>Required?</td>
|
|
252
|
+
<td>true</td>
|
|
253
|
+
</tr>
|
|
254
|
+
<tr>
|
|
255
|
+
<td>Position?</td>
|
|
256
|
+
<td>Named</td>
|
|
257
|
+
</tr>
|
|
258
|
+
<tr>
|
|
259
|
+
<td>Default Value</td>
|
|
260
|
+
<td></td>
|
|
261
|
+
</tr>
|
|
262
|
+
<tr>
|
|
263
|
+
<td>Accept Pipeline Input?</td>
|
|
264
|
+
<td>true (ByValue, ByPropertyName)</td>
|
|
265
|
+
</tr>
|
|
266
|
+
<tr>
|
|
267
|
+
<td>Accept Wildcard Characters?</td>
|
|
268
|
+
<td>false</td>
|
|
269
|
+
</tr>
|
|
270
|
+
</tbody>
|
|
271
|
+
</table>
|
|
272
|
+
|
|
273
|
+
### -Key <string>
|
|
274
|
+
|
|
275
|
+
Placeholder key filter - supports wildcards.
|
|
276
|
+
|
|
277
|
+
<table>
|
|
278
|
+
<thead></thead>
|
|
279
|
+
<tbody>
|
|
280
|
+
<tr>
|
|
281
|
+
<td>Aliases</td>
|
|
282
|
+
<td>None</td>
|
|
283
|
+
</tr>
|
|
284
|
+
<tr>
|
|
285
|
+
<td>Required?</td>
|
|
286
|
+
<td>false</td>
|
|
287
|
+
</tr>
|
|
288
|
+
<tr>
|
|
289
|
+
<td>Position?</td>
|
|
290
|
+
<td>Named</td>
|
|
291
|
+
</tr>
|
|
292
|
+
<tr>
|
|
293
|
+
<td>Default Value</td>
|
|
294
|
+
<td></td>
|
|
295
|
+
</tr>
|
|
296
|
+
<tr>
|
|
297
|
+
<td>Accept Pipeline Input?</td>
|
|
298
|
+
<td>false</td>
|
|
299
|
+
</tr>
|
|
300
|
+
<tr>
|
|
301
|
+
<td>Accept Wildcard Characters?</td>
|
|
302
|
+
<td>true</td>
|
|
303
|
+
</tr>
|
|
304
|
+
</tbody>
|
|
305
|
+
</table>
|
|
306
|
+
|
|
307
|
+
### -Language <string[]>
|
|
308
|
+
|
|
309
|
+
Language that will be used as source language. If not specified the current user language will be used. Globbing/wildcard supported.
|
|
310
|
+
|
|
311
|
+
<table>
|
|
312
|
+
<thead></thead>
|
|
313
|
+
<tbody>
|
|
314
|
+
<tr>
|
|
315
|
+
<td>Aliases</td>
|
|
316
|
+
<td>Languages</td>
|
|
317
|
+
</tr>
|
|
318
|
+
<tr>
|
|
319
|
+
<td>Required?</td>
|
|
320
|
+
<td>false</td>
|
|
321
|
+
</tr>
|
|
322
|
+
<tr>
|
|
323
|
+
<td>Position?</td>
|
|
324
|
+
<td>Named</td>
|
|
325
|
+
</tr>
|
|
326
|
+
<tr>
|
|
327
|
+
<td>Default Value</td>
|
|
328
|
+
<td></td>
|
|
329
|
+
</tr>
|
|
330
|
+
<tr>
|
|
331
|
+
<td>Accept Pipeline Input?</td>
|
|
332
|
+
<td>false</td>
|
|
333
|
+
</tr>
|
|
334
|
+
<tr>
|
|
335
|
+
<td>Accept Wildcard Characters?</td>
|
|
336
|
+
<td>false</td>
|
|
337
|
+
</tr>
|
|
338
|
+
</tbody>
|
|
339
|
+
</table>
|
|
340
|
+
|
|
341
|
+
### -Path <string>
|
|
342
|
+
|
|
343
|
+
Path to the item to be processed - can work with Language parameter to narrow the publication scope.
|
|
344
|
+
|
|
345
|
+
<table>
|
|
346
|
+
<thead></thead>
|
|
347
|
+
<tbody>
|
|
348
|
+
<tr>
|
|
349
|
+
<td>Aliases</td>
|
|
350
|
+
<td>FullName, FileName</td>
|
|
351
|
+
</tr>
|
|
352
|
+
<tr>
|
|
353
|
+
<td>Required?</td>
|
|
354
|
+
<td>true</td>
|
|
355
|
+
</tr>
|
|
356
|
+
<tr>
|
|
357
|
+
<td>Position?</td>
|
|
358
|
+
<td>Named</td>
|
|
359
|
+
</tr>
|
|
360
|
+
<tr>
|
|
361
|
+
<td>Default Value</td>
|
|
362
|
+
<td></td>
|
|
363
|
+
</tr>
|
|
364
|
+
<tr>
|
|
365
|
+
<td>Accept Pipeline Input?</td>
|
|
366
|
+
<td>false</td>
|
|
367
|
+
</tr>
|
|
368
|
+
<tr>
|
|
369
|
+
<td>Accept Wildcard Characters?</td>
|
|
370
|
+
<td>false</td>
|
|
371
|
+
</tr>
|
|
372
|
+
</tbody>
|
|
373
|
+
</table>
|
|
374
|
+
|
|
375
|
+
### -PlaceholderSetting <Item>
|
|
376
|
+
|
|
377
|
+
Item representing the placeholder setting. If matching, the placeholder setting will be removed.
|
|
378
|
+
|
|
379
|
+
<table>
|
|
380
|
+
<thead></thead>
|
|
381
|
+
<tbody>
|
|
382
|
+
<tr>
|
|
383
|
+
<td>Aliases</td>
|
|
384
|
+
<td>None</td>
|
|
385
|
+
</tr>
|
|
386
|
+
<tr>
|
|
387
|
+
<td>Required?</td>
|
|
388
|
+
<td>false</td>
|
|
389
|
+
</tr>
|
|
390
|
+
<tr>
|
|
391
|
+
<td>Position?</td>
|
|
392
|
+
<td>Named</td>
|
|
393
|
+
</tr>
|
|
394
|
+
<tr>
|
|
395
|
+
<td>Default Value</td>
|
|
396
|
+
<td></td>
|
|
397
|
+
</tr>
|
|
398
|
+
<tr>
|
|
399
|
+
<td>Accept Pipeline Input?</td>
|
|
400
|
+
<td>false</td>
|
|
401
|
+
</tr>
|
|
402
|
+
<tr>
|
|
403
|
+
<td>Accept Wildcard Characters?</td>
|
|
404
|
+
<td>false</td>
|
|
405
|
+
</tr>
|
|
406
|
+
</tbody>
|
|
407
|
+
</table>
|
|
408
|
+
|
|
409
|
+
### -UniqueId <string>
|
|
410
|
+
|
|
411
|
+
UniqueID of the placeholder setting to be removed.
|
|
412
|
+
|
|
413
|
+
<table>
|
|
414
|
+
<thead></thead>
|
|
415
|
+
<tbody>
|
|
416
|
+
<tr>
|
|
417
|
+
<td>Aliases</td>
|
|
418
|
+
<td>None</td>
|
|
419
|
+
</tr>
|
|
420
|
+
<tr>
|
|
421
|
+
<td>Required?</td>
|
|
422
|
+
<td>true</td>
|
|
423
|
+
</tr>
|
|
424
|
+
<tr>
|
|
425
|
+
<td>Position?</td>
|
|
426
|
+
<td>Named</td>
|
|
427
|
+
</tr>
|
|
428
|
+
<tr>
|
|
429
|
+
<td>Default Value</td>
|
|
430
|
+
<td></td>
|
|
431
|
+
</tr>
|
|
432
|
+
<tr>
|
|
433
|
+
<td>Accept Pipeline Input?</td>
|
|
434
|
+
<td>false</td>
|
|
435
|
+
</tr>
|
|
436
|
+
<tr>
|
|
437
|
+
<td>Accept Wildcard Characters?</td>
|
|
438
|
+
<td>false</td>
|
|
439
|
+
</tr>
|
|
440
|
+
</tbody>
|
|
441
|
+
</table>
|
|
442
|
+
|
|
443
|
+
## Inputs
|
|
444
|
+
|
|
445
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
446
|
+
|
|
447
|
+
* Sitecore.Data.Items.Item
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
## Notes
|
|
451
|
+
|
|
452
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
453
|
+
|
|
454
|
+
## Examples
|
|
455
|
+
|
|
456
|
+
### EXAMPLE 1
|
|
457
|
+
|
|
458
|
+
Remove all placeholder settings for "Default" device
|
|
459
|
+
|
|
460
|
+
```powershell
|
|
461
|
+
Remove-PlaceholderSetting -Path master:\content\home -Device (Get-LayoutDevice "Default")
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
### EXAMPLE 2
|
|
465
|
+
|
|
466
|
+
Remove all placeholder settings with the "content" key.
|
|
467
|
+
|
|
468
|
+
```powershell
|
|
469
|
+
Remove-PlaceholderSetting -Path master:\content\home -Key "content"
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
## Related Topics
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
* <a href='https://github.com/SitecorePowerShell/Console/' target='_blank'>https://github.com/SitecorePowerShell/Console/</a><br/>
|
|
476
|
+
* [Add-PlaceholderSetting](add-placeholdersetting.md)
|
|
477
|
+
* [Get-PlaceholderSetting](get-placeholdersetting.md)
|
|
478
|
+
* [New-PlaceholderSetting](new-placeholdersetting.md)
|