How to create pop up window

servicenow lath
Tera Contributor

I need to Create a Popup box , which should populates when the contact Field in case Form is Empty.

that pop up should contains a Button CLICK HERE . on clicking the button it should takes to the contact record .

how to do this? 

3 REPLIES 3

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

You will have to create a UI page and define a GlideDialogWindow.

 

Please find the below article for the same. Is has the steps on how to achieve the requirement:-

 

https://servicenowguru.com/system-ui/glidedialogwindow-advanced-popups-ui-pages/

 

Please mark my answer as correct based on Impact. 

 

for example on clicking the pop up it should take me to the incident record how to do that?

Hello,

 

yes if you see the link I send you in that the code contains dialog_buttons so you just have to call a function and in the function use a href to redirect to the url you want.

 

Please mark my answer as correct based on Impact.