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
Add-BaseTemplate
Add-ItemVersion
Close-Window
ConvertFrom-CliXml
ConvertFrom-ItemClone
ConvertTo-CliXml
Expand-Token
Get-Archive
Get-ArchiveItem
Get-Cache
Get-Database
Get-ItemClone
Get-ItemCloneNotification
Get-ItemField
Get-ItemReference
Get-ItemReferrer
Get-ItemTemplate
Get-ItemWorkflowEvent
Get-SitecoreJob
Get-SpeModule
Get-SpeModuleFeatureRoot
Get-TaskSchedule
Get-UserAgent
Import-Function
Invoke-JavaScript
Invoke-Script
Invoke-ShellCommand
Invoke-Workflow
New-ItemClone
New-ItemWorkflowEvent
New-UsingBlock
Out-Download
Publish-Item
Read-Variable
Receive-File
Receive-ItemCloneNotification
Remove-BaseTemplate
Remove-ArchiveItem
Remove-ItemVersion
Reset-ItemField
Restart-Application
Restore-ArchiveItem
Send-File
Send-SheerMessage
Set-HostProperty
Set-ItemTemplate
Show-Alert
Show-Application
Show-Confirm
Show-FieldEditor
Show-Input
Show-ListView
Show-ModalDialog
Show-Result
Show-YesNoCancel
Start-TaskSchedule
Test-BaseTemplate
Test-Rule
Update-ItemReferrer
Update-ListView
Write-Log
Indexing
Packaging
Presentation
Provider
Security
Session
Powered By
GitBook
Show-Application
Executes Sitecore Sheer application.
Syntax
Show-Application [-Application] <String> [[-Parameter] <Hashtable>] [-Icon <String>] [-Modal] [-Title <String>] [-Width <Int32>] [-Height <Int32>]
Detailed Description
Executes Sitecore Sheer application, allows for passing additional parameters, launching it on desktop in cooperative or in Modal mode.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Parameters
-Application <String>
Name of the Application to be executed. Application must be defined in the Core databse.
Aliases
Text
Required?
true
Position?
1
Default Value
​
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Parameter <Hashtable>
Additional parameters passed to the application.
Aliases
Text
Required?
false
Position?
2
Default Value
​
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Icon <String>
Icon of the executed application (used for titlebar and in the Sitecore taskbar on the desktop)
Aliases
Text
Required?
false
Position?
named
Default Value
​
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Modal <SwitchParameter>
Causes the application to show in new browser modal window or modal overlay if used in Sitecore 7.2 or later.
Aliases
Text
Required?
false
Position?
named
Default Value
​
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Title <String>
Title of the window the app opens in.
Aliases
Text
Required?
false
Position?
named
Default Value
​
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Width <Int32>
Width of the modal window.
Aliases
Text
Required?
false
Position?
named
Default Value
​
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Height <Int32>
Height of the modal window.
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.Data.Items.Item
Notes
Help Author: Adam Najmanowicz, Michael West
Examples
EXAMPLE 1
Show Content Editor in new window (or as an overlay in modal mode in Sitecore 7.2+) with "/sitecore/templates" item selected.
1
$item
=
gi
master:\templates
2
​
3
Show-Application
`
4
-
Application
"Content Editor"
`
5
-
Parameter @
{
id =
"
$
(
$item
.
ID
)
"
;
fo=
"
$
(
$item
.
ID
)
"
;
la=
"
$
(
$item
.
Language
.
Name
)
"
;
vs=
"
$
(
$item
.
Version
.
Number
)
"
;
sc_content=
"
$
(
$item
.
Database
.
Name
)
"
}
`
6
-
Modal
-
Width 1600
-
Height 800
Copied!
EXAMPLE 2
Show Content Editor as a new application on desktop with "/sitecore/content/home" item selected.
1
$item
=
gi
master:\content\home
2
​
3
Show-Application
`
4
-
Application
"Content Editor"
`
5
-
Parameter @
{
id =
"
$
(
$item
.
ID
)
"
;
fo=
"
$
(
$item
.
ID
)
"
;
la=
"
$
(
$item
.
Language
.
Name
)
"
;
vs=
"
$
(
$item
.
Version
.
Number
)
"
;
sc_content=
"
$
(
$item
.
Database
.
Name
)
"
}
`
Copied!
Related Topics
​
Read-Variable
​
​
Show-Alert
​
​
Show-Confirm
​
​
Show-FieldEditor
​
​
Show-Input
​
​
Show-ListView
​
​
Show-ModalDialog
​
​
Show-Result
​
​
Show-YesNoCancel
​
​
https://github.com/SitecorePowerShell/Console/
​
Previous
Show-Alert
Next
Show-Confirm
Last modified
10d ago
Export as PDF
Copy link
Contents
Syntax
Detailed Description
Parameters
-Application <String>
-Parameter <Hashtable>
-Icon <String>
-Modal <SwitchParameter>
-Title <String>
-Width <Int32>
-Height <Int32>
Inputs
Notes
Examples
EXAMPLE 1
EXAMPLE 2
Related Topics