Problem GlideModal for onAssess , onFix and other

Tadz
Tera Guru
Tera Guru

Hi Everyone,

I was tracing the UI Script "ProblemModalUIHelpers" specifically on the on "ProblemModalUIHelpers.onAssess" function

somehow it is calling this function "ob.openModal('assess_dialog_form_view', getMessage('Assess'), 850, formValues);"

in which it is calling GlideModal

find_real_file.png

I have read that the first parameter of the GlideModal is the ui page.

I have checked ui page "assess_dialog_form_view" but wasn't able to found it.

find_real_file.png

 

Also tried looking in the ui macro. but also didn't found.

Can anyone guide me on where to find the "assess_dialog_form_view" on where is it stored.

Thanks,

Tadz

 

10 REPLIES 10

Stijn Verhulst1
ServiceNow Employee
ServiceNow Employee

Hi Tadz,

I'm afraid this UI Page is blackbox, thus not accessible after applying a quick search in my own instance. Some UI Pages, as the one you're looking for, are not made available.

Warm regards,

Stijn

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

not all UI pages are accessible to admins/developers. Some are internal and can be accessed by core platform team of ServiceNow

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Tadz
Tera Guru
Tera Guru

Hi Stijn and Ankur, thanks for your quick replies.

Problem is, on my instance its no longer opening the GlideModal. 

find_real_file.png

that's why I want to debug its behavior. I was thinking those UI pages were somehow been deleted.

 

Thanks,

Tadz

Stijn Verhulst1
ServiceNow Employee
ServiceNow Employee

Thanks for the input Tadz. Have you loaded the script in your Client Script, as also visible in your first screenshot where SN applies the ScriptLoader statement?

Just asking as I'm not aware whether the code of your last post is part of the code mentioned in the first screenshot of your initial post. Some UI Scripts are not marked as global and therefore must be loaded explicitly.