MicroStrategy ONE

Setting or Restoring State

The ReportBean requires a state to clarify the specific MicroStrategy report that is represented by a given ReportBean instance. Using its methods, the state can be set in the following ways:

  • Specifying a reportID or name: A reportID can be used to uniquely identify a report by its 32-byte string GUID. This value can be obtained for any ObjectBean that includes a state by calling getObjectID(). It can also be found in MicroStrategy Developer by right-clicking an object, selecting ‘Properties,’ and noting the ‘ID’ field.

  • Specifying a templateID and filterID: A report definition consists of a template and filter. Using the appropriate methods, a template ID and filter ID can be passed to the ReportBean.

  • Specifying a messageID (and optional stateID): A report instance – that is, a report that has already been executed and is available in MicroStrategy Intelligence Server memory – may be uniquely identified by its messageID. Additionally, a stateID can also be supplied. The state ID is incremented each time a report instance is manipulated or changed in any way.

See also