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

KB39871: Constructing URL API to run a Report Services document and define a different default selection for an attribute element selector in MicroStrategy Web


Community Admin

• Strategy


The following example demonstrates how to construct URL API to run a Report Services document with different default selection for attribute element selector in MicroStrategy Web.

** The following URL API request (to set default selectors) is only possible with a single selector.  At this time, URL API does not support setting more then 1 selector's default value. **
The following example demonstrates how to construct URL API to run a Report Services document with different default selection for attribute element selector in Strategy Web 9.4.x-10.x:


(.NET Version) http://<web server>:port/MicroStrategy/asp/Main.aspx?
(JSP Version) http://<web server>:port/MicroStrategy/servlet/mstrWeb?
 
&evt=2048001  
&src=Main.aspx.2048001
&documentID=F7ED3B8A4C338BFDDEF1458C91A0F9C2
&evt=2048084
&src=Main.aspx.rwd.rwframe.rwb.2048084
&ctlKey=W64
&elemList=h2;8D679D3711D3E4981000E787EC6DE8A4
&usePartDisplay=1
¤tIncludeState=true
&applyNow=1
&evtorder=2048001%2c2048084
&2048084=1
&2048001=1

 
 
NOTE: 
Two events are executed using URL API in this example. Refer to the following section in Strategy Developer Zone (MSDZ) to understand how to execute multiple events using the URL API:
https://www2.microstrategy.com/producthelp/Current/WebSDK/Content/topics/urlapi/Executing_Multiple_Events_Using_the_URL_API.htm
 
The parameters below are required to execute a document:

&evt=2048001
&src=Main.aspx.2048001
&documentID=

 
The parameters below are required to set default selection for attribute element selector:

&evt=2048084
&src=Main.aspx.rwd.rwframe.rwb.2048084
&ctlKey=
&elemList=
&usePartDisplay=
¤tIncludeState=
&applyNow=

 
The parameters below are use to determine the execution order when using multiple events: 

&evtorder=2048001%2c2048084
&2048084=1
&2048001=1

  
NOTE: Refer to the following technical note to understand how to find ctlKey and element list of each selector:
 
KB38841: How to pass selector answer "All" from targeted hyperlink to a prompt child report in MicroStrategy Web 9.4.x and 10.x
 
Sample with Firefox (Firebug):

ka0PW0000000iaXYAQ_0EM440000002Ghc.png

 
 
For information on how to do the same for grid selectors on target documents, to include how to find the &ctlKey &elemList parameters using Fiddler, refer to the following technical note:
KB43469: How to construct a URL API to run a Report Services document and set a specific selection for a Grid or Graph selector control in MicroStrategy Web 9.4.1


Comment

0 comments

Details

Knowledge Article

Published:

May 22, 2017

Last Updated:

February 13, 2024