Starting with Strategy Mobile 9.4.1 - 10.x, there is a way to display a selected panel from a panel stack selector using URL API.
Syntax
Parameter | Description |
evt | evt=2048076, this means the URL is used to select panel |
psName | This is the target panel stack’s name |
psKey | This is the target panel stack’s key |
pName | This is the target panel’s name |
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. User can find the name of the panel stack using Strategy Web or Strategy Desktop, and the name of each panel through Strategy Desktop. (The name shown in Strategy Web is the panel’s title, not name)
If there are spaces in the Panel Stack’s name, users need to use %20 to replace space. Users can use Firebug or other tool to find out the key for each panel.
Strategy 9.2.1m supports both Name and Key of Panel Stack and Panel in the URL. So there are totally four combinations:
1. Panel Stack Name and Panel Name:
mstr://?evt=2048076&psName=PanelStack1| PanelStack2|…&pName=Panel1|Panel2|…
2. Panel Stack Name and Panel Key:
mstr://?evt=2048076&psName=PanelStack1| PanelStack2|…&pKey=PanelK1|PanelK2|…
3. Panel Stack Key and Panel Name:
mstr://?evt=2048076&psKey=PanelStackK1| PanelStackK2|…&pName=Panel1|Panel2|…
4. Panel Stack Key and Panel Key:
mstr://?evt=2048076&psKey=PanelStackK1| PanelStackK2|…&pKey=PanelK1|PanelK2|…
Example:
mstr://?evt=2048076&psKey=W46&pKey=W48
For basic Mobile URL API information, refer to MSDL documentation:
https://resource.microstrategy.com/MSDZ/MSDL/921M/docs/DeveloperLibrary.htm
Home > Mobile SDK > Mobile SDK for iOS > Building a Custom Application > Adding Functionality to a Custom Project > Using the URL API