Strategy ONE
Specify the Group-By Selection for a Document in Android
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: 
 
 
 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
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
mstrweb?evt=2048001documentID=41B1166B4C84A759CC2C19BB07C2EC00&groupByElements={&Year@GUID};12;{&Year@LongelementID}
                                                