MicroStrategy ONE

Linking to a MicroStrategy Folder from an External Web Site or Other Location

You can access any MicroStrategy folder from an external Web site or other location by providing the correct URL parameters, including authentication and authorization information. For MicroStrategy Web pages that require login, you can have the user be prompted for credentials or you can pass the credentials in the URL. The following scenarios are described below:

There are many situations in which it is not advisable to pass credentials in the URL.

Prompting the user for login credentials

The following URL requests that the contents of the SharedReports folder in MicroStrategy Tutorial (located under Public Objects) be displayed. Because this request requires a login (that is, the value of the LoginRequired attribute is "true" for the <page> node whose name attribute is "shared" in the Page Configuration file), the user is prompted to enter credentials before the contents of the folder are displayed.

J2EE environment:

<a href="http://webserver/MicroStrategy/servlet/mstrWeb?server=INTELLIGENCE_SERVER&project=MicroStrategy+Tutorial&evt=2001&folderID=D3C7D461F69C4610AA6BAA5EF51F4125">Shared Reports Folder Browsing page</a>

.NET environment:

<a href="http://webserver/MicroStrategy/asp/Main.aspx?server=INTELLIGENCE_SERVER&project=MicroStrategy+Tutorial&evt=2001&Main.aspx.2001&folderID=D3C7D461F69C4610AA6BAA5EF51F4125">Shared Reports Folder Browsing page</a>

The parameters passed in the URL are described below:

Parameter  

server

Name or IP Address of MicroStrategy Intelligence Server

project

Name of project to be accessed

evt

Event associated with the user action. A list of event IDs can be found in events.xml, as well as the Event Handlers Reference.

folderID

Identifier for the folder to be accessed

Passing the login credentials in the URL

The following URL automatically displays the contents of the SharedReports folder in MicroStrategy Tutorial (located under Public Objects). The user is not prompted for login information before displaying the report since the login credentials (shown in bold below) are supplied in the URL.  

J2EE environment:

<a href="http://webserver/MicroStrategy/servlet/mstrWeb?server=INTELLIGENCE_SERVER&project=MicroStrategy+Tutorial&evt=2001&folderID=D3C7D461F69C4610AA6BAA5EF51F4125&uid=username&pwd=password">Shared Reports Folder Browsing page</a>

.NET environment:

<a href="http://webserver/MicroStrategy/asp/Main.aspx?server=INTELLIGENCE_SERVER&project=MicroStrategy+Tutorial&evt=2001&Main.aspx.2001&folderID=D3C7D461F69C4610AA6BAA5EF51F4125&uid=username&pwd=password">Shared Reports Folder Browsing page</a>

The parameters passed in the URL are described below:

Parameter  

server

Name or IP Address of MicroStrategy Intelligence Server

project

Name of project to be accessed

evt

Event associated with the user action. A list of event IDs can be found in events.xml, as well as the Event Handlers Reference.

folderID

Identifier for the folder to be accessed

uid

User name or login name for the user

pwd

Password for login

See also