Get-SpeModuleFeatureRoot
Last updated
Returns the library item or path to the library where scripts for a particular integration point should be located for a specific module.
Get-SpeModuleFeatureRoot [-Module <Module>] [-ReturnPath] [-Feature] <String>
The Get-SpeModuleFeatureRoot command returns library item or path to the library where scripts for a particular integration point should be located for a specific module.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Module for which the feature root library should be returned. If not provided the feature root will be returned for all modules.
Required?
false
Position?
named
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
Feature for which the root library should be provided. If root item does not exist and -ReturnPath parameter is not specified - nothing will be returned, If -ReturnPath parameter is provided the path in which the feature root should be located will be returned
Valid features:
contentEditorContextMenu
contentEditorGutters
contentEditorRibbon
controlPanel
functions
listViewExport
listViewRibbon
pipelineLoggedIn
pipelineLoggingIn
pipelineLogout
toolbox
startMenuReports
eventHandlers
webAPI
pageEditorNotification
isePlugi
Required?
true
Position?
1
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
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.
Sitecore.Data.Items.Item
System.String
Help Author: Adam Najmanowicz, Michael West
Return the library item for "Content Editor Context Menu"
Return the Path to where "List View Export" scripts would be located if this feature was defined
Last updated
$module = Get-SpeModule -Name "Copy Renderings"
Get-SpeModuleFeatureRoot -Feature contentEditorContextMenu -Module $module$module = Get-SpeModule -Name "Copy Renderings"
Get-SpeModuleFeatureRoot -Module $module -Feature listViewExport -ReturnPath