# 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="/files/k4G6P151jzQqDC5A31Zh" 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="/files/9QBMaNOqYPzHelyNnDX0" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/HNRzkk25A0MH33OCUH3C" 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="/files/sRxR5jIBS0B6dS7gFgoF" 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vitaracharts.com/readme/right-click-menu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
