Is it possible to Display Popup box (Message Window or Dialog window )

chanikya
Tera Guru

Hi ,

it 's became hard challenge to me, i hope you will help me on this.

Issue:

When user is clicked on     YES or NO button in KB ARTICLE     then immediately     Make Comments box mandatory       OR     display Prompt box(message box) with message .

for this i tried to check UI Macro's(it is in readonly)   , UI pages   but   i am unable to understand where need to do changes.

At least please tell me is it possible or not to display POPUp box on article form

find_real_file.png

Need Rusult like this , not exactly like this, need this kind of format.

find_real_file.png

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Karthik,



I did find the Helpful message is out of box and here is the way you can add an alert on click of Yes.


Go to UI Macro -> search for XML contains Helpful? you should find this ui macro 'kb_view_ratings'.



within this UI macro you will see that a function feedback is being called on click of Yes search that and update as per below screenshot:



ui macro-know.JPG



Test it now.


Working fine screenshot below:



know-working.JPG


Remember that this will be a global change since this ui macro is applicable for all records.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Karthik,



I did find the Helpful message is out of box and here is the way you can add an alert on click of Yes.


Go to UI Macro -> search for XML contains Helpful? you should find this ui macro 'kb_view_ratings'.



within this UI macro you will see that a function feedback is being called on click of Yes search that and update as per below screenshot:



ui macro-know.JPG



Test it now.


Working fine screenshot below:



know-working.JPG


Remember that this will be a global change since this ui macro is applicable for all records.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader