MicroStrategy ONE

Accessing PromptObject

The PromptsBean uses the PromptObject interface to gather detailed information about every single prompt in a report. Each prompt is exposed as a PromptObject.

The PromptsBean interface manages the collection and assembly of prompt questions. After getting a PromptObject for a current prompt, it can be transformed for rendering itself on the screen. The PromptObject provides access to additional prompt properties.

Other methods in the PromptsBean interface provide the ability to:

  • Get the number of prompts in a report  

  • Specify which prompts to access  

  • Get or set the position of the current prompt  

  • Get the next prompt in the collection

See also