MicroStrategy ONE

Specify the Group-By Selection for a Document in iOS

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

Parameter Value

groupByElements

[groupByUnitGUID1];[groupByUnitType1];[groupByElementID1]^[groupByUnitGUID2];[groupByUnitType2];[groupByElementID2] 

where:

  • groupByUnitGUID is the unique identifier of the attribute. Specifies the groupBy node by matching the attribute in the selector.
  • groupByUnitType is a constant value determined by the type of attribute used in the selector. For the case of regular attributes, the value is 12.
  • groupByUnitID is the long element ID display form of the attribute. Specify the value to be selected in the groupBy node.

You can use macros for the values.

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

Sample URL for specifying the group-by selection for a document in a .NET environment

Copy
Main.aspx?evt=2048001documentID=41B1166B4C84A759CC2C19BB07C2EC00&groupByElements={&Year@GUID};12;{&Year@LongelementID}

Sample URL for specifying the group-by selection for a document in a J2EE environment

Copy
mstrweb?evt=2048001documentID=41B1166B4C84A759CC2C19BB07C2EC00&groupByElements={&Year@GUID};12;{&Year@LongelementID}