< Back

Set-ISHUIMainMenuBarItem

Wed Jan 15, 2020 8:50 am

NAME Set-ISHUIMainMenuBarItem



SYNOPSIS

Update or add a new MainMenuBar button.





SYNTAX

Set-ISHUIMainMenuBarItem -Label <string> -UserRole <string[]> -Action <string> [-ID <string>] [-ISHDeployment

<ISHDeployment>] [<CommonParameters>]





DESCRIPTION

The Set-ISHUIMainMenuBarItem cmdlet updates or adds new Button definitions to Content Manager deployment.





PARAMETERS

-Label <string>

Label of menu item.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserRole <string[]>

The list of users for whom the menu item is available.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Action <string>

The action which occurs on click on the menu item.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ID <string>

The menu item identifier.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ISHDeployment <ISHDeployment>

Specifies the name or instance of the Content Manager deployment.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



---------- EXAMPLE 1 ----------



PS C:\\>Set-ISHUIMainMenuBarItem -ISHDeployment $deployment -Label "Inbox" -Action "ShowSubMenu.asp?Menu=2"

-UserRole Author, Reviewer



This command add/update main menu item.



This command sets XML definitions to MainMenuBar. Parameter $deployment is a deployment name or an instance of the

Content Manager deployment retrieved from Get-ISHDeployment cmdlet.



RELATED LINKS

Move-ISHUIMainMenuBarItem

Remove-ISHUIMainMenuBarItem