Allow/Block URLs in the Vitara Charts

To address the requirement of having URLs in the VitaraCharts, we have made some enhancements in the 5.1.3 release.

1. An option in the ‘global.txt’ file:

A property is included in the global.txt file. By using this property you can enable/disable the URLs in all the dossiers/documents where VitaraCharts are used. Below is the screenshot of this property from the global.txt file.

allowURLs_1

For the MSTR web application, the global.txt file can be located at the below path
*webapps\MicroStrategy\plugins\VitaraCharts\custom*

For the MSTR Library application, the global.txt file can be located at the below path *webapps\MicroStrategyLibrary\plugins\VitaraCharts\custom*

Note: You have to configure the respective global.txt file for web and library applications.

security.allowURLLinks = 0 or 1. Setting 0 (zero) will not allow URLs used within the anchor tag ‘href’ property. With this setting enabled only anchor tag titles are allowed. While setting to value 1 (one) will enable URLs used within the anchor tag ‘href’ property. By default the value of the property security.allowURLLinks = 0. This means URLs in the VitaraCharts will not work.

2. Security Tab:

The properties window of all the VitaraCharts will now have the option to control the URLs within that particular chart. This means the global.txt file can be used to control the URLs globally in all VitaraCharts used in any of the dossiers or documents. Whereas, the Security tab property in the property editor of a specific chart is used to control the URLs in that particular chart in the particular dossier/document. Below is the screenshot of this option.

allowURLs_1

By default, the ‘Allow URL Links’ is set to the value Default. This means the functioning of the URLs is governed by the property set in the global.txt file. If global.txt is = 0, then URLs will not work. Enable/Disable: Set the ‘Allow URL Links’ option to either Enable/Disable to allow URLs or block URLs in that particular chart.

Note: If you do not configure the functioning of URLs using any of the above two methods, VitaraCharts will block all the URLs.