How to display alert popup on Service Now Homepage

anujbhardwaj
Kilo Explorer

How we can display a alert popup once user logged in and reaches the homepage.

4 REPLIES 4

Jace Benson
Mega Sage

I can only think of one reason to show some dialog window on the homepage. That would be some Login terms. Mark S. went over this really well on his site, http://www.servicenowguru.com/system-definition/login-terms-conditions-dialog/

However if you are talking about the native alert method, I'd think you'd have to add a ui script that runs the code on the right page.


Jave ,

Earlier we had a AD integration and now same has been removed , we want to let the user aware via a pop-up not to enter their AD credentials.

Also the solution you had provided for dialog box work for me but we are in shared environment where multiple client exists.
And we want this dialog for only one client, hence we want that dialog box only for that particular client.

Please help me in resolving this issue.


We'll you should be able to tell this pop up which should only come up based on whatever the TermsAcceptanceAjax Script include does. Just modify this script to only work with the users of that domain. I haven't personally set this up, but that's where I'd start. However, this seems to be something different than I expected.


anujbhardwaj
Kilo Explorer

Your advice worked and after making some changes in AJAX script it's working as per requirement.

Thanks a lot for help.