Use Case: Users use the Modern UX. A few classic portlets are embedded in Channels through Blueprints.
Users are confused when using the Classic Export buttons as the result looks different than the exports through Modern (for example, the number of rows is limited in Classic Export to Excel/PowerPoint).
The requirement is to remove:
"Export to Excel", "Export to Powerpoint"
and "Export to Excel (Data Only)" should remain.
Current Options:
Preferred Options:
Clarity 16.2.1
This is controlled by CSS located in Administration > "UI Themes"
This solution is provided "as is", and support is limited.
Navigate to the Administration Menu in Classic > "UI Themes"
Take a backup of your existing custom UI theme by creating a new UI theme.
Add the following to the bottom of the CSS code:
/* Remove "Excel" icon */
.caui-workspacePageToolbarE2e {
display:none;
height: 21px;
width: 20px;
background: url(ui/uitk/tngtheme/images/workspace.png) no-repeat -0px -108px;
}
/* Remove "Powerpoint" icon */
.caui-workspacePageToolbarE2ppt {
display:none;
height: 21px;
width: 20px;
background: url(ui/uitk/tngtheme/images/workspace.png) no-repeat -20px -108px;
}
/* Remove "Export to Excel" from the Gear menu */
.ppm_button_menu_item:nth-child(5) {
display:none;
}
/* Remove "Export to Powerpoint" from the Gear menu */
.ppm_button_menu_item:nth-child(6) {
display:none;
}
The .ppm_button_menu_item:nth-child(6) refers to the index of the menu item, so in this case, we are setting not to display the 6th menu item.
Screenshot: