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.
-
Launch the Custom Event Handler Creation Wizard.
-
Select the source folder for the MicroStrategy project by clicking Browse next to the Source folder text box..
-
Select the package by clicking Browse next to the Package text box.
-
Enter a name for the event handler in the Name text box.
-
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.
-
Click Add to specify arguments for the event.
-
Click the Click here... text in the Argument ID column to enter the argument ID.
-
Check the box next to the argument ID, if the argument is a required argument.
-
Click the Click here... text in the Argument Name column to enter the name for the argument.
-
Click Next.
-
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.
-
Modify the code for the event handler and enumeration as appropriate.
-
Save your changes.