Working with ISHDeploy-12.0.3, I need to extend/change the list of userrole subelements for the menuitem with label 'Locate'.
However looking at the documentation and tutorials of ISHDeploy (see https://sdl.github.io/ISHDeploy/12.0.3/Commands/Set-ISHUISearchMenuBarItem.html), I can not find how I can manipulate/change this specific menuitem.
The List of userrole subelements for both the Out-Of-The-Box' available 'Search' and 'Publications' Options can be extended using the Set-ISHUISearchMenuBarItem commandlet and providing the full set of arguments, including the newly (to be added) userrole value.
Example of the scriptblock to manipulate the 'Search' menuitem (add the userrole 'New UserRole') looks as show below:
---- code example ----
$SearchItem=@{
Label="Search"
Type="Default"
UserRole= @(
"Administrator"
"Author"
"New UserRole"
"Reviewer"
"Translator"
)
Icon="./UIFramework/search.24x24.png"
SearchXML="SearchNewGeneral"
}
Set-ISHUISearchMenuBarItem -ISHDeployment $deploymentName @SearchItem
---- End of code example ----
However I can not derive from the documentation provided for the commandlet which type value I should use to instruct the Set-ISHUISearchMenuBarItem to manipulate/rebuild the 'Locate' menuitem from the SearchMenuBar.xml file.
Any insight/guidance is highly appreciated.
Kind Regards,
Raf
Translate