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

KB44483: How to construct a URL API to run a target Report Service document with dynamic selection for attribute element selector in MicroStrategy Web 9.x?


Community Admin

• Strategy


In MicroStrategy 9.4.x-10.x, it is possible to set selectors to a specific value using URL API when running the target Report Service document

Strategy allows to pass selector values across Report Services documents using Edit Links. For more information regarding this feature, refer to following technical note: KB44090: Passing all selector values across Report Services Documents using Edit Links
Certain situations may prevent users from using this feature, such as:
1. Source document does not include a selector;
2. User has to use "Hyperlink" instead of "Edit links" function for some reason
It is still possible to pass a prompt answer or dynamic text value to target document by constructing URL API.
In Strategy 9.4.x-10.x, it is possible to set selectors to a specific value using URL API when running the target Report Service document. For explanation on the URL parameters required and for steps to construct a URL for selector controls other than grids or graphs, refer to the following technical note:KB39871: Constructing URL API to run a Report Services document and define a different default selection for an attribute element selector in MicroStrategy Web 9.4.x-10.x
 
In above URL API, replace the hardcoded &elemList node with auto text "&elemList=h{@ID};{&@GUID}" to render the URL dynamically.
A full sample URL API is shown below:


(.NET Version) http:///Strategy/asp/Main.aspx?
(JSP Version) http://:port/Strategy/servlet/mstrWeb?
evt=2048001
&src=Main.aspx.2048001
&documentID=EA2E3A35496A60EDFEBF9797581F6880
&evt=2048084
&src=Main.aspx.rwd.rwframe.rwb.2048084
&ctlKey=W45
&elemList=h{Subcategory@ID};{&Subcategory@GUID}
&usePartDisplay=1
¤tIncludeState=true
&applyNow=1
&evtorder=2048001%2c2048084&2048084=1&2048001=1


Comment

0 comments

Details

Knowledge Article

Published:

May 30, 2017

Last Updated:

May 30, 2017