Need to Display alert on button click

by Community Manager on ‎08-31-2011 07:05 AM


I have placed a Button on 'Open New Incident' form. With a click of that button, an alert should pop out saying 'Hello World'. Kindly guide me for implementing this.


There might be several ways to do this, but simplest way i think of is to use RAD Application-- mb.ok


Go to Form designer and open form you want to edit in desgin mode.(I am considering OOB form such as IM.close.incident).

Add button to this form. Put following parameters:


Button Id | 8008

Enable | Checked

Enable condition | true

Caption | Hello


Button ID is important and use same ID while creating DO.


Before adding DO first check the display screen associated with the form.You check display screen as FORMNAME(DISPLAYSCREEN). So in my case IM.close.incident(apm.edit.problem)


go to DO (Display option)  and search for screen id apm.edit.problem add new DO to this screen with following parameters:


Screen ID | Associated Screen name for your form  ((apm.edit.problem in my case)

Action  | do nothing

Unique Id | Leave blank generate automatically

GUI option | Button ID given in Form Designer for button(8008 in my case)

Text option | same as button id

Bank | 1

condition | true

default label | Hello


click button Add.

Then go to RAD tab present below DO option. Go to that tab add following :


RAD Application | mb.ok

Seperate Thread | true

Names | text

Values | Hello World


save the DO.


Then go to your form and click on button You will get pop up message with hello world as text.

Showing results for 
Search instead for 
Do you mean 
HP Blog

IT Service Management Blog


Follow Us
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.