MicroStrategy ONE

Examples for Prompts

The examples shown below demonstrate some typical usage patterns for the WebPrompts and WebPrompt interfaces.

The following examples are explained:

If a report includes multiple prompts, it is recommended to use the WebPrompts.answerPrompts() method to ensure that all prompt answers are submitted to MicroStrategy Intelligence Server at the same time. Using WebPrompt.answerPrompt() instead, prompt answers are submitted one at a time to MicroStrategy Intelligence Server thus causing synchronization issues if all prompts are not answered successfully.