EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB439827: How to remove "Shared reports" and "Projects" in M icon menu using MicroStrategy Web SDK 10.x


Mengran (Molly) Wang

Senior Cloud Support Engineer III • MicroStrategy


In some user scenario, it's required to remove "Shared reports" and "Projects" in M icon menu. It can be achieved by commenting out related paragraph in pageConfig.xml. But we recommend to create a plugin to maintain this modification using web SDK.

SYMPTOM:
In some user scenario, it's required to remove "Shared reports" and "Projects" in M icon menu:

ka02R000000kbAPQAY_0EM44000000YViS.png

It can be achieved by commenting out related paragraph in pageConfig.xml. However it is recommend to create a plugin to maintain this modification using web SDK.
SOLUTION:
Create a plugin and modify PageConfig.xml inside the plugin:
1. In WCE, create a new plugin
2. Go to Pages>-1(Default page), double click or right mouse click and select "Open in Editor"
3. In Template Properties tab, click on "Edit Shortcuts"

ka02R000000kbAPQAY_0EM44000000YViD.png

4. In the pop-up dialog, choose "Select Individual Shortcuts", then uncheck "Shared Reports" to remove it.

ka02R000000kbAPQAY_0EM44000000YViI.png

5. Save the plugin in eclipse, and there will be a new plugin under web path.
6. Browse into the plugin folder, go to plugins\<plugin name>\WEB-INF\xml, and edit PageConfig.xml
7. Add a shortcut list as Projects. The file looks like below:
<framework>
<pages>
<page desc-id="" feature-id="" name="-1">
<templates>
<template>
<shortcut-list-set name="default">
<shortcut-list name="home">
<shortcut deleted="1" name="projects"/>
</shortcut-list>
<shortcut-list name="toolbar">
<shortcut deleted="1" name="public"/>
</shortcut-list>
</shortcut-list-set>
</template>
</templates>
</page>
</pages>
</framework>
8. Restart web server and clear browser cache. See the 2 items are removed successfully.

ka02R000000kbAPQAY_0EM44000000YVi8.png

Comment

0 comments

Details

Knowledge Article

Published:

March 6, 2018

Last Updated:

March 6, 2018