What is difference between GlideDialogForm,GlideDialogWindow,Glide Model

Rajyalakshmi
Tera Contributor

Hi Team,

 

i need to implement related link on the user profile when Servicenow support team clicks on the related link it should show results(servicenow  ,AAD integration current user details   )AAD integration result in window .

1 ACCEPTED SOLUTION

@Rajyalakshmi 

I already informed please use GlideAjax and get the response and then pass it to modal.

RESTMessageV2 is server side and GlideModal can be invoked only from client side.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

11 REPLIES 11

@Rajyalakshmi 

GlideModal is client side code.

you are using RESTMessageV2 which is a server side class and won't work in client side UI action

what's your actual requirement?

If you are keeping UI action as client side, then make a GlideAjax call and get the response body and then pass it to GlideModal.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi @Ankur Bawiskar ,

Thank you for quick response.

My requirement is ,we have ServiceNow ,Azure AD integration where user data will get update from AAD on daily basis. We are receiving couple of incidents that user details are not updated correctly ,for that we need to check what user details in AAD.To check AAD details we need to navigate to Rest message ,Get Http and will Test the API and will check response body.It is taking 5 to 10 min of time.

 

To avoid all these steps we need to create related link in the user form ,after clicking on the related link it will call the rest message execution.We need to show this response body in pop-up window .

@Rajyalakshmi 

I already informed please use GlideAjax and get the response and then pass it to modal.

RESTMessageV2 is server side and GlideModal can be invoked only from client side.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi @Ankur Bawiskar ,

 

i have used Glideajax and got the responseBody and passed to glidemodal.

 

when glidemodal window rendered ,responseBody message got exceed the size of glide modal.

could you please help how i can fix this issue ?

@Rajyalakshmi 

then use <g:evaluate> tag and invoke script include and then render the response body in HTML of your UI page

If my response helped please mark it correct and close the thread so that it benefits future readers.

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