< Back

Set-ISHUIButtonBarItem

Wed Jan 15, 2020 8:48 am

NAME Set-ISHUIButtonBarItem



SYNOPSIS

Create/Update button bar item.





SYNTAX

Set-ISHUIButtonBarItem -Name <string> -Icon <string> -JSFunction <string> [-CheckAccess <SwitchParameter>]

[-HideText <SwitchParameter>] -Logical <SwitchParameter> [-ISHType <CardType[]>] [-JSArgumentsList <object[]>]

[-ISHDeployment <ISHDeployment>] [<CommonParameters>]



Set-ISHUIButtonBarItem -Name <string> -Icon <string> -JSFunction <string> [-CheckAccess <SwitchParameter>]

[-HideText <SwitchParameter>] -Version <SwitchParameter> [-ISHType <CardType[]>] [-JSArgumentsList <object[]>]

[-ISHDeployment <ISHDeployment>] [<CommonParameters>]



Set-ISHUIButtonBarItem -Name <string> -Icon <string> -JSFunction <string> [-CheckAccess <SwitchParameter>]

[-HideText <SwitchParameter>] -Language <SwitchParameter> [-ISHType <CardType[]>] [-JSArgumentsList <object[]>]

[-ISHDeployment <ISHDeployment>] [<CommonParameters>]





DESCRIPTION

The Set-ISHUIButtonBarItem cmdlet add or update button bar item.





PARAMETERS

-Name <string>

Name of the button.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Icon <string>

Icon for the button.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-JSFunction <string>

Javascript or asp page need to be invoken after click.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CheckAccess <SwitchParameter>

Check access.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-HideText <SwitchParameter>

Hide text.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Logical <SwitchParameter>

Type "Logical" especially for FolderButtonbar.xml.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Version <SwitchParameter>

Type "Version" especially for LanguageDocumentButtonbar.xml.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Language <SwitchParameter>

Type "Language" especially for TopDocumentButtonbar.xml.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-ISHType <CardType[]>

ISHType is a list of names for correspond card type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-JSArgumentsList <object[]>

JSArgumentsList is a Javascript argument list.



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-ISHUIButtonBarItem -ISHDeployment $deployment -Logical -ISHType ISHIllustration, ISHMasterDoc -Name

"test" -Action "refresh();" -Icon "~/Custom/Images/Custom.png"



This command add/update main menu item. Parameter $deployment is a deployment name or an instance of the Content

Manager deployment retrieved from Get-ISHDeployment cmdlet.



RELATED LINKS

Move-ISHUIButtonBarItem

Remove-ISHUIButtonBarItem