# Right Click Menu

## Right Click Menu in MicroStrategy 2020 Presentation Mode <a href="#right-click-menu-in-microstrategy-2020-presentation-mode" id="right-click-menu-in-microstrategy-2020-presentation-mode"></a>

When we run a dossier in the presentation mode, by default vitara charts will not show the right click menu options.

<figure><img src="https://230207405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuiTPVEbVQnzR38vviPf%2Fuploads%2Fx3EmbdxxElQAR7RVCNnU%2FrightClick3.png?alt=media&#x26;token=30582742-052f-4f50-b0a5-0b042412df51" alt=""><figcaption></figcaption></figure>

To enable this feature we have to configure the “global.txt” file in the below given path.

```
/apache-tomcat-8.5.32/webapps/MicroStrategy/plugins/VitaraCharts/custom
```

Edit the ‘global.txt’ file. At the bottom of this file, you will find the following line “#statePresentation.contextMenu=1”.

<figure><img src="https://230207405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuiTPVEbVQnzR38vviPf%2Fuploads%2Fr9tCzMiHkmPt2TVlBQj7%2FrightClick1.png?alt=media&#x26;token=1eedd978-9c0a-4e95-91c1-1be8d32af599" alt=""><figcaption></figcaption></figure>

Uncomment this line by deleting the # at the starting of this line.

<figure><img src="https://230207405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuiTPVEbVQnzR38vviPf%2Fuploads%2FpxRLaJCW9s3IIzHD7Oa6%2FrightClick2.png?alt=media&#x26;token=64243be5-95ed-4a7a-a0d5-aae9f001643b" alt=""><figcaption></figcaption></figure>

After uncommenting save the ‘global.txt’ file.

Delete the browser cache and reload the MicroStrategy web page. Now the right click menu will show the options when we run the dossier in the presentation mode.

<figure><img src="https://230207405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuiTPVEbVQnzR38vviPf%2Fuploads%2FI5FguHwFgh7xj06bAm0I%2FrightClick4.png?alt=media&#x26;token=e162aa71-3f94-40cd-92e7-e46a7e136d8f" alt=""><figcaption></figcaption></figure>

Add the same flag in the *global.txt* file in vitara charts library plugins.\
Below is the path of *global.txt* file related to vitara charts library plugins.

```
/apache-tomcat-8.5.32/webapps/MicroStrategylibrary/plugins/VitaraCharts/custom
```

Edit the ‘global.txt file and insert the flag *“statePresentation.contextMenu=1”* at the bottom of the *‘global.txt’* file, save and close the file.

#### From latest version  onwards, the right-click menu is enabled by default across all visualizations. This menu allows users to enable or disable features as needed.

Below is a screenshot showing this property in the global.txt file:<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfLP6LP4qT9vXOicETnSJ13V2D4rtaCioUMeMLP3Uu8Wdzvc-6OWPFvvEI1JiutXvIT6ja30KXE6BwTlLHvewSMBpihVVvCiWA8w45D0ou8w9TjyhcJ7ri9IFNMwLhykYrO3Hlr6Q?key=HG8zy91NAlh2msPjWJsC0g" alt=""><figcaption></figcaption></figure>

To disable this feature, set the following property in the global.txt file:\
statePresentation.contextMenu=0

📌**Note:** The respective `global.txt` file must be configured **separately** for both **Web** and **Library** applications.\
After making changes, users must **clear their browser cache** to ensure the updates are reflected in any Vitara charts
