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

KB16688: How to execute multiple events using URL API in MicroStrategy Web and Web Universal 9.x


Community Admin

• Strategy


It is possible to execute multiple events like execute, page-by, and export together using URL API in Strategy Web and Web Universal 9.x.
 
The following sample contains URL Parameters for executing a document and exporting the same document to PDF, selecting the attribute elements in page-by axis:
 

  • Login to the project:
    /MicroStrategy/servlet/mstrWeb?
    Server=SERVERNAME
    &Project=Strategy+Tutorial
    &Port=0
    &uid=Administrator
    &pwd=
  • Execute the document:
    &evt=2048001
    &src=mstrWeb.2048001
    &documentID=7BAB226B4C538793B4C6D88013833A63
  • Select different attribute elements in the page-by axis:
    &evt=20003
    &src=mstrWeb.rwd.rwframe.pbb.20003
    &elemKey=K17.BB:8D679D3711D3E4981000E787EC6DE8A4:1:2:0:2:1:3:2:Electronics
    &elemKey=K24.BB:8D679D4A11D3E4981000E787EC6DE8A4:1:2:0:2:1:3:20044:2004 Q4
  • Export document to PDF:
    &evt=3103
    &src=mstrWeb.3103
    &executionMode=3
    &rwExportMode=1
  • Specify the order in which the previous events should be executed:
    &evtorder=2048001&2c;20003&2c;3103
    &2048001=1
    &20003=1
    &3103=1

Sample URL to execute in Strategy Web:
 
http://localhost/MicroStrategy/asp/Main.aspx?server=was-nnaragam&Project=Strategy+Tutorial&evt=2048001&src=mstrWeb.2048001&documentID=EB4A97F04DBF416C2A0C23802B3DB4DD&evt=20003&src=mstrWeb.rwd.rwframe.pbb.20003&elemKey=F22 BB:8D679D3711D3E4981000E787EC6DE8A4:1:2:0:2:1:3:2:Electronics&elemKey=F27 BB:8D679D4A11D3E4981000E787EC6DE8A4:1:2:0:2:1:3:20044:2004 Q4&evt=3103&src=mstrWeb.3103&executionMode=3&rwExportMode=1&evtorder=2048001&2c;20003&2c;3103&2048001=1&20003=1&3103=1&uid=Administrator&pwd=
 
Sample URL to execute in Strategy Web Universal:
 
http://localhost:8080/mstrURL/servlet/mstrWeb?server=was-nnaragam&Project=Strategy+Tutorial&evt=2048001&src=mstrWeb.2048001&documentID=EB4A97F04DBF416C2A0C23802B3DB4DD&evt=20003&src=mstrWeb.rwd.rwframe.pbb.20003&elemKey=F22 BB:8D679D3711D3E4981000E787EC6DE8A4:1:2:0:2:1:3:2:Electronics&elemKey=F27 BB:8D679D4A11D3E4981000E787EC6DE8A4:1:2:0:2:1:3:20044:2004 Q4&evt=3103&src=mstrWeb.3103&executionMode=3&rwExportMode=1&evtorder=2048001&2c;20003&2c;3103&2048001=1&20003=1&3103=1&uid=Administrator&pwd=
 
NOTE: The pageByKey can be obtained from the xml that is taken from the source after appending &xml=1 to the URL while executing the report as explained in the following Strategy Knowledge Base technical note:
 
 
Code Customization:
WARNING:
This customization is provided as a convenience to Strategy users and is only directly applicable to the version stated. While this code may apply to other releases directly, Strategy Technical Support makes no guarantees that the code provided will apply to any future or previous builds. In the event of a code change in future builds, Strategy Technical Support makes no guarantee that an updated version of this particular customization will be provided. In the event of a code change in future builds, Strategy may not be able to provide additional code on this matter even though this customization is provided at this time for this specific build. For enhancements to this customization or to incorporate similar functionality into other versions, contact your Account Executive to inquire about Strategy Consulting assistance.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 23, 2017

Last Updated:

June 23, 2017