MicroStrategy ONE

Creating a New Event

This topic provides step-by-step instructions on adding an event handler to a bean on a MicroStrategy Web page.

  1. Launch the Custom Event Handler Creation Wizard.  

  2. Select the source folder for the MicroStrategy project by clicking Browse next to the Source folder text box..  

  3. Select the package by clicking  Browse next to the Package text box.  

  4. Enter a name for the event handler in the Name text box.  

  5. To create a new event, select the radio button Create New Event. Then specify an ID and name for the new event in the Event ID and Event Name text boxes respectively.  

  6. Click Add to specify arguments for the event.  

  7. Click the Click here... text in the Argument ID column to enter the argument ID.  

  8. Check the box next to the argument ID, if the argument is a required argument.  

  9. Click the Click here... text in the Argument Name column to enter the name for the argument.  

  10. Click Next.  

  11. Click Finish. Two files open in the Web Customization Explorer. One file contains code for the event handler, and the other contains code for the enumeration.

    Note: The new event handler gets added to the bean. It is listed in the Event Handler text box for the bean under the Propertiessection.  

  12. Modify the code for the event handler and enumeration as appropriate. 

  13. Save your changes.