- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2025 10:57 PM
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 .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2025 03:33 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2025 02:15 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2025 02:58 AM
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 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2025 03:33 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2025 04:21 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2025 04:37 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader