Supported Bean: PageByBean

The PageByBean is used to display the page-by axis for reports, and the group-by section for documents. Conceptually these components are the same: each is a collection of units (usually attributes) that the end-user can modify by adding, removing or changing the position of the units within the collection (pivoting).

These units control the data displayed to the user: when the report or document is executed each unit is displayed with a combo-box that lists its elements, the data is automatically filtered based on the currently selected element.

Although conceptually the same, the underlying SDK objects that manipulate the page-by axis and the group-by section are different. The goal of the PageByBean and its related classes is to abstract these differences.

This bean is associated with a target-bean, which by default can only be a ReportBean or a RWBean. From this target-bean it will populate its list of units, each of which implements the PageByUnit interface. The PageByBean.getUnits() method returns the enumeration of these units.


Event handler: com.microstrategy.web.app.beans.EnumSysBeanTypes.AppBeanPageBy (20)

Application bean type for the PageBy bean

Events

AddUnit, Delete, DeleteUnit, DisplayAttrForms, DisplayType, Generic, PivotEvent, SelectElements, Sorts

AddUnit
Event to add an element into the PageBy.

20005

EnumPageByBeanEvents.WebEventPageByAdd

*unitID

Argument that specifies the ID of an object to add as a page-by unit.
  • EnumPageByBeanEvents.WebEventPageByAdd
  • 20007

    EnumPageByBeanEvents.WebEventArgumentPageByObjectID

    *unitType

    Argument that specifies the DSSType of an object to add as a page-by unit.
  • EnumPageByBeanEvents.WebEventPageByAdd
  • 20008

    EnumPageByBeanEvents.WebEventArgumentPageByObjectType

    dataSetID

    Argument that specifies the datasetID of the dataset from which the page by element is being added from.
  • EnumPageByBeanEvents.WebEventPageByAdd
  • 20013

    EnumPageByBeanEvents.WebEventArgumentPageByDatasetID

    dKey

    Argument that specifies the destination's unit key:
  • EnumPageByBeanEvents.WebEventPageByPivot
  • 20002

    EnumPageByBeanEvents.WebEventArgumentPageByUnitDestinationKey

    unitSubType

    Argument that specifies the DSSSubType of an object to add as a page-by unit.
  • EnumPageByBeanEvents.WebEventPageByAdd
  • 20012

    EnumPageByBeanEvents.WebEventArgumentPageByObjectSubtype

    Delete
    Event to delete a PageBy unit from the report definition.

    20007

    EnumPageByBeanEvents.WebEventPageByDelete

    *unitID

    Argument that specifies the ID of an object to add as a page-by unit.
  • EnumPageByBeanEvents.WebEventPageByAdd
  • 20007

    EnumPageByBeanEvents.WebEventArgumentPageByObjectID

    unitSubType

    Argument that specifies the DSSSubType of an object to add as a page-by unit.
  • EnumPageByBeanEvents.WebEventPageByAdd
  • 20012

    EnumPageByBeanEvents.WebEventArgumentPageByObjectSubtype

    unitType

    Argument that specifies the DSSType of an object to add as a page-by unit.
  • EnumPageByBeanEvents.WebEventPageByAdd
  • 20008

    EnumPageByBeanEvents.WebEventArgumentPageByObjectType

    DeleteUnit
    Event to remove an element from the PageBy section.

    20004

    EnumPageByBeanEvents.WebEventPageByRemove

    *oKey

    Argument that specifies the current unit key:
  • EnumPageByBeanEvents.WebEventPageByPivot
  • EnumPageByBeanEvents.WebEventPageBySort
  • 20001

    EnumPageByBeanEvents.WebEventArgumentPageByUnitKey

    DisplayAttrForms
    Event to select attribute forms to display in a GroupBy Unit.

    20009

    EnumPageByBeanEvents.WebEventPageByDisplayAttrForms

    *forms

    Argument that specifies the Disyplay attribute forms of the groupBy unit.
  • EnumPageByBeanEvents.WebEventPageByDisplayType
  • 20015

    EnumPageByBeanEvents.WebEventArgumentPageByDisplayAttrForms

    *unitKey

    Argument that specifies the current unit key:
  • EnumPageByBeanEvents.WebEventPageByPivot
  • EnumPageByBeanEvents.WebEventPageBySort
  • 20001

    EnumPageByBeanEvents.WebEventArgumentPageByUnitKey

    DisplayType
    Event to select display type in a GroupBy Unit.

    20008

    EnumPageByBeanEvents.WebEventPageByDisplayType

    *displayType

    Argument that specifies the DisyplayType of the groupBy unit.
  • EnumPageByBeanEvents.WebEventPageByDisplayType
  • 20014

    EnumPageByBeanEvents.WebEventArgumentPageByDisplayType

    *oKey

    Argument that specifies the current unit key:
  • EnumPageByBeanEvents.WebEventPageByPivot
  • EnumPageByBeanEvents.WebEventPageBySort
  • 20001

    EnumPageByBeanEvents.WebEventArgumentPageByUnitKey

    Generic
    Generic Event for Page-by. This event is designed to support all the page-by actions. The action to perform is sent as an argument. More over, if the name of the argument ends with ".x" it assumes the value is coming from an IMG INPUT and reads the values directly from the argument name; all of this is intended to support HTML mode and its usage is not recommended.

    20006

    EnumPageByBeanEvents.WebEventPageByGeneric

    *act

    Argument that specifies an action to apply in the Generic Event.
  • EnumPageByBeanEvents.WebEventPageByGeneric
  • 20010

    EnumPageByBeanEvents.WebEventArgumentPageByAction

    autoSubmit

    Argument that specifies the that the selection was done using auto-submit. It will be true if the value is "1". False otherwise.
  • EnumPageByBeanEvents.WebEventPageBySelectElement
  • 20006

    EnumPageByBeanEvents.WebEventArgumentPageByAutosubmit

    dAxis

    Argument that specifies the destination's axis:
  • EnumPageByBeanEvents.WebEventPageByPivot
  • 20003

    EnumPageByBeanEvents.WebEventArgumentPageByUnitDestinationAxis

    dKey

    Argument that specifies the destination's unit key:
  • EnumPageByBeanEvents.WebEventPageByPivot
  • 20002

    EnumPageByBeanEvents.WebEventArgumentPageByUnitDestinationKey

    elemKey

    Argument that specifies the current page-by selection. The format of the value is a list of one or more position + elementID pairs. unitKeyEnumReportBeanEvents.PAGE_BY_KEY_SEPARATORelementID
  • EnumPageByBeanEvents.WebEventPageBySelectElement
  • 20005

    EnumPageByBeanEvents.WebEventArgumentPageBySelectedElement

    oKey

    Argument that specifies the current unit key:
  • EnumPageByBeanEvents.WebEventPageByPivot
  • EnumPageByBeanEvents.WebEventPageBySort
  • 20001

    EnumPageByBeanEvents.WebEventArgumentPageByUnitKey

    pivotAction

    Argument that specifies what the pivot action should be. This can be used to specify whether to move a unit left/right/to rows/to columns instead of specifying the targeted position/axis.
  • EnumPageByBeanEvents.WebEventPageByPivot
  • 20004

    EnumPageByBeanEvents.WebEventArgumentPageByPivotAction

    sortOrder

    Argument that specifies an action to apply in the Generic Event.
  • EnumPageByBeanEvents.WebEventPageByGeneric
  • 20011

    EnumPageByBeanEvents.WebEventArgumentPageBySortOrder

    unitID

    Argument that specifies the ID of an object to add as a page-by unit.
  • EnumPageByBeanEvents.WebEventPageByAdd
  • 20007

    EnumPageByBeanEvents.WebEventArgumentPageByObjectID

    unitType

    Argument that specifies the DSSType of an object to add as a page-by unit.
  • EnumPageByBeanEvents.WebEventPageByAdd
  • 20008

    EnumPageByBeanEvents.WebEventArgumentPageByObjectType

    PivotEvent
    Event to pivot a PageBy Unit.

    20001

    EnumPageByBeanEvents.WebEventPageByPivot

    *oKey

    Argument that specifies the current unit key:
  • EnumPageByBeanEvents.WebEventPageByPivot
  • EnumPageByBeanEvents.WebEventPageBySort
  • 20001

    EnumPageByBeanEvents.WebEventArgumentPageByUnitKey

    dAxis

    Argument that specifies the destination's axis:
  • EnumPageByBeanEvents.WebEventPageByPivot
  • 20003

    EnumPageByBeanEvents.WebEventArgumentPageByUnitDestinationAxis

    dKey

    Argument that specifies the destination's unit key:
  • EnumPageByBeanEvents.WebEventPageByPivot
  • 20002

    EnumPageByBeanEvents.WebEventArgumentPageByUnitDestinationKey

    pivotAction

    Argument that specifies what the pivot action should be. This can be used to specify whether to move a unit left/right/to rows/to columns instead of specifying the targeted position/axis.
  • EnumPageByBeanEvents.WebEventPageByPivot
  • 20004

    EnumPageByBeanEvents.WebEventArgumentPageByPivotAction

    SelectElements
    Event to select an element in a PageBy Unit.

    20003

    EnumPageByBeanEvents.WebEventPageBySelectElement

    *elemKey

    Argument that specifies the current page-by selection. The format of the value is a list of one or more position + elementID pairs. unitKeyEnumReportBeanEvents.PAGE_BY_KEY_SEPARATORelementID
  • EnumPageByBeanEvents.WebEventPageBySelectElement
  • 20005

    EnumPageByBeanEvents.WebEventArgumentPageBySelectedElement

    autoSubmit

    Argument that specifies the that the selection was done using auto-submit. It will be true if the value is "1". False otherwise.
  • EnumPageByBeanEvents.WebEventPageBySelectElement
  • 20006

    EnumPageByBeanEvents.WebEventArgumentPageByAutosubmit

    pagebyApply

    Argument that specifies the name of the apply button.
  • EnumPageByBeanEvents.WebEventPageBySelectElement
  • 20009

    EnumPageByBeanEvents.WebEventArgumentPageByApply

    Sorts
    Event that toggles the sort a PageBy Unit.

    20002

    EnumPageByBeanEvents.WebEventPageBySort

    *oKey

    Argument that specifies the current unit key:
  • EnumPageByBeanEvents.WebEventPageByPivot
  • EnumPageByBeanEvents.WebEventPageBySort
  • 20001

    EnumPageByBeanEvents.WebEventArgumentPageByUnitKey

    sortOrder

    Argument that specifies an action to apply in the Generic Event.
  • EnumPageByBeanEvents.WebEventPageByGeneric
  • 20011

    EnumPageByBeanEvents.WebEventArgumentPageBySortOrder


    Notes

    * denotes required field.