EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB43824: How to Use the URL API to Save a Report to a Specific Folder in MicroStrategy Web 9.x


Community Admin

• Strategy


The URL API provides the ability to directly request Strategy Web to perform actions by using specific arguments in the request. This is useful in the context of the out-of-the-box Strategy Web, as well as when integrating Strategy Web with an external Web site, portal, or other third-party application. A lot of functionality can be achieved simply by passing the appropriate parameters through a URL.
 
In this particular instance, it is possible to save a report or document object to specified folder using the URL API. This is useful for cases where a 'Save' button needs to be placed directly onto a document instead of relying on the toolbar. This is especially useful if using portlets and the hiddenSections parameters is used to hide sections of the page.
 
Below is the URL API template for this action:


http://Web_Server_Name/MicroStrategy/servlet/mstrWeb?Server=&Project=&port=0&evt=2048001&src=mstrWeb.2048001&visMode=0¤tViewMedia=2&documentID=&evt=26005&src=mstrWeb.saveAsRW.saveasbean.26005&saveAsReportParentFolderID=&saveAsReportSaveAsOverwrite=1&saveAsReportName=&evt=3026&src=mstrWeb.3026&evtorder=2048001,26005,3026&2048001=1&26005=1&3026=1

Where Web_Server_Name need to be replaced by the name of your Web Server, This portion of the URL specifies the standard information necessary for performing an action in Strategy Web.

/MicroStrategy/servlet/mstrWeb?Server=&Project=&port=0

The first event needed is to execute the report or document.

  • Document Execution:
    
    &evt=2048001&src=mstrWeb.2048001&visMode=0¤tViewMedia=2&documentID=
    

  • Report Execution:
    
    &evt=4001&src=mstrWeb.4001&reportID=

The second and third events perform the actual save function.


&evt=26005&src=mstrWeb.saveAsRW.saveasbean.26005&saveAsReportParentFolderID=&saveAsReportSaveAsOverwrite=1&saveAsReportName=&evt=3026&src=mstrWeb.3026  

 
The final portion of the URL specifies the order of events. Note: Event 2048001 is included at the end in order to return back to the original document. 

&evtorder=2048001,26005,3026&2048001=1&26005=1&3026=1


KB43824


Comment

0 comments

Details

Knowledge Article

Published:

June 6, 2017

Last Updated:

November 16, 2018