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

KB42591: How to use a text box as link to a different panel in the same document in MicroStrategy Web?


Community Admin

• Strategy


Follow the steps in this article to create a text box to be used to navigate to a different panel within the same document in MicroStrategy Web, using URL API. The same configuration can also be applied for shapes and images.

A text box can be used to navigate to a different panel within the same document in Strategy Web 9.4.x-10.x, using URL API. The same configuration can also be applied for shapes and images. Follow the steps described below:
 
ACTION 

  1. Edit the document, and right-click the text box.
  2. Go to Edit Links option, make sure that the Navigate to this URL radio button is selected.
  3. Use the following URL syntax:

ASP:


Main.aspx?Server=<servername>&Project=<project+name>&Port=0&evt=2048001&evt=2048076&src=Main.aspx.2048001
&src=Main.aspx.rwd.rwframe.rwb.2048076&visMode=0&documentID=<xxxxxxxxxxxxxxxxxxx>&evtViewMedia=2&psKey=<xxx>
&pKey=<xxx>&evtorder=2048001,2048076&2048001=1&2048076=1

 
JSP:

mstrWeb?Server=<servername>&Project=<project+name>&Port=0&evt=2048001&evt=2048076&src=mstrWeb.2048001
&src=mstrWeb.rwd.rwframe.rwb.2048076&visMode=0&documentID=<xxxxxxxxxxxxxxxxxxx>&evtViewMedia=2&psKey=<xxx>
&pKey=<xxx>&evtorder=2048001,2048076&2048001=1&2048076=1 

 
Notice that following parameters were used in the above URL syntax to reference the target panel stack and panel, and achieve the desired result:
 

Parameter

Description

evt

evt=2048076, this means the URL is used to select panel

psKey

This is the target panel stack’s key

pKey

This is the target panel’s key

 
 
Note: The order matters. User needs to make sure the panel stack name and key are in the correct order and they are matching correctly.
 
How to find psKey 

  • On the browser, run the document in HTML mode.
  • Right-click a blank area of the document and select View Source.
  • In the HTML source, search for the object panelStack and find the panel stack id.

 
In the example below, the panel stack key is W46:
class="object panelStack W46" blcr="5" wt="" rc="-1" id="W46" ty="obj" title="" name="W46" scriptclass="mstrPanelStack" uaiw="0" wd="9.5" sty="8" swt="-1" nm="Panel Stack46" dse="0" 
 
How to find pKey 

  • In the same HTML source, search for scriptclass="mstrPanel" name and find the panel name.

In the example below, the panel key is W47:
 
<div ty="4" id="W47" style="display:none;overflow: auto;" rl="8" scriptclass="mstrPanel" name="W47" class=" panel W47" slid="0" wt="Panel_A" sty="9" nm="Panel47">
 
For detailed information on URL API, refer to the following documentation:

  1. Strategy Developer Zone: https://resource.microstrategy.com/msdz/default.asp
  2. KB40581: How to use Mobile URL API to display a certain panel in a panel selector in MicroStrategy Mobile 9.4.1 - 10.x

Comment

0 comments

Details

Knowledge Article

Published:

May 22, 2017

Last Updated:

May 22, 2017