In Strategy Mobile 9.4.1 - 10.x, it is possible to use URL API to change Document Layout during document execution.
Syntax
Argument | Description |
evt | 2048001 – executeRWDocument. Executes the report services document specified by the documentID argument. 4001 – ReportExecuteEvent. Allows users to execute reports |
src | The page component that should handle the action and the event |
documentID | Specifies the ID of the report services document to execute |
execFlags* | Flags to be used while executing a document |
msgID* | Specifies the ID of an in-memory report services document. If present, the report services document is fetched from memory rather than executed |
layoutIndex | Zero-based index of the layout you want to change. For instance: If you want to switch to the first layout of the document this value should be equal to 0. LayoutIndex = LayoutNumber -1 |
*Optional parameter
Example:
+ J2EE:
mstrWeb?evt=2048001&src=mstrWeb.2048001¤tViewMedia=2&visMode=0&documentID=E06C0CE349545B7DBD51BAA6EDEA3E6C&layoutIndex=0
+ ASP:
Main.aspx?evt=2048001&src=Main.aspx.2048001¤tViewMedia=2&visMode=0&documentID=E06C0CE349545B7DBD51BAA6EDEA3E6C&layoutIndex=0
For basic URL API usage in Mobile, refer to MSDL documentation:
https://www2.microstrategy.com/producthelp/Current/MobileSDK/Content/topics/iOS/iOS_Using_the_URL_API.htm