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
/MicroStrategy/servlet/mstrWeb?Server=&Project=&port=0
&evt=2048001&src=mstrWeb.2048001&visMode=0¤tViewMedia=2&documentID=
&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
&evtorder=2048001,26005,3026&2048001=1&26005=1&3026=1