Strategy ONE

Browsing a Folder Using the URL API

The table below shows the URL parameters used to perform folder browsing using the URL API.

Argument Description

evt

2001 - browseFolder

Allows users to browse folders based on a folder ID, folder name, or system folder ID

src

The page component that should handle the action and the event

systemFolder

Allows access to different folders based on an internal system folder ID

The EnumDSSXMLFolderNames enumeration contains a list of the valid system folders.

folderID

Specifies the ID of the folder to browse

folderName

Specifies the name of the folder to browse. Uses the first match, in case of multiple matches.

executionFlags*

Flags to be used while browsing a folder

* optional parameter

The sample URL shown below illustrates how to access the Shared Reports folder.

J2EE environment:

http://webserver/MicroStrategy/servlet/mstrWeb?

Server=localhost

&Project=MicroStrategy+Tutorial

&Port=0

&uid=Administrator

&pwd=

&src=mstrWeb.2001

&evt=2001

&systemFolder=7

.NET environment:

http://webserver/MicroStrategy/asp/Main.aspx?

Server=localhost

&Project=MicroStrategy+Tutorial

&Port=0

&uid=Administrator

&pwd=

&src=Main.aspx.2001

&evt=2001

&systemFolder=7

"7" is the ID for the “Shared Reports” folder.

The sample URL shown below illustrates how to access the Public Objects>Templates folder.

J2EE environment:

http://webserver/MicroStrategy/servlet/mstrWeb?

Server=localhost

&Project=MicroStrategy+Tutorial

&Port=0

&uid=Administrator

&pwd=

&src=mstrWeb.2001

&evt=2001

&systemFolder=9

.NET environment:

http://webserver/MicroStrategy/asp/Main.aspx?

Server=localhost

&Project=MicroStrategy+Tutorial

&Port=0

&uid=Administrator

&pwd=

&src=Main.aspx.2001

&evt=2001

&systemFolder=9

"9" is the ID for the “Templates” folder.

Performing folder browsing using the “folderID” argument

The sample URL shown below illustrates how to access the “Subject Areas” folder, which is part of the MicroStrategy Tutorial project, using the folderID argument to identify the folder to browse.

J2EE environment:

http://webserver/MicroStrategy/servlet/mstrWeb?

Server=localhost

&Project=MicroStrategy+Tutorial

&Port=0

&uid=Administrator

&pwd=

&src=mstrWeb.shared.fb.2001

&evt=2001

&folderID=5B68C5AE433C728679340A91DC8F809C

.NET environment:

http://webserver/MicroStrategy/asp/Main.aspx?

Server=localhost

&Project=MicroStrategy+Tutorial

&Port=0

&uid=Administrator

&pwd=

&src=Main.aspx.shared.fb.2001

&evt=2001

&folderID=5B68C5AE433C728679340A91DC8F809C

Performing folder browsing using the “folderName” argument

The sample URL shown below illustrates how to access the “Financial Reports” folder, which is part of the MicroStrategy Tutorial project, using the folderName argument to identify the folder to browse.

J2EE environment:

http://webserver/MicroStrategy/servlet/mstrWeb?

Server=localhost

&Project=MicroStrategy+Tutorial

&Port=0

&uid=Administrator

&pwd=

&src=mstrWeb.shared.fb.2001

&evt=2001

&folderName=Subject%20Areas

.NET environment:

http://webserver/MicroStrategy/asp/Main.aspx?

Server=localhost

&Project=MicroStrategy+Tutorial

&Port=0

&uid=Administrator

&pwd=

&src=Main.aspx.shared.fb.2001

&evt=2001

&folderName=Subject%20Areas

See also: