MicroStrategy ONE

Specify the Page-By Selection for a Report in Android

The following parameter and value are used to specify the page-by selection for a report using the mobile URL API. This parameter is added to URL link for executing a report, separated from the previous parameter by an & (ampersand).

Parameter Value

pageByElements

[pageByUnitGUID1];[pageByUnitType1];[pageByElementID1]^[pageByUnitGUID2];[pageByUnitType2];[pageByElementID2] 

where:

  • pageByUnitGUID is the unique identifier of the page-by attribute or consolidation.
  • pageByUnitType is a constant value determined by the type of attribute used in the selector. For the case of regular attributes, the value is 12.
  • pageByElementID is the long element ID display form of the page-by attribute or consolidation.

You can use macros for the values.

The sample URLs below show how to specify the page-by selection in a report from inside your custom mobile application.  MicroStrategyMobileServer is the name of your MicroStrategy Mobile Server.

Sample URL for specifying the page-by selection for a report in a .NET environment

Copy
Main.aspx?evt=4001&reportID=EB3CD5D14F4C8C77782AC0882C986B8D&pageByElements={&Year@GUID};12;{&Year@LongelementID}

Sample URL for specifying the page-by selection for a report in a J2EE environment

Copy
mstrweb?evt=4001&reportID=EB3CD5D14F4C8C77782AC0882C986B8D&pageByElements={&Year@GUID};12;{&Year@LongelementID}