- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2024 08:26 AM
Hello,
I'm fairly new to ServiceNow and still testing around what it can do in the Demo version of Xanadu.
Currently, I'm just trying to create a test UI Page, but I'm having Issues with executing a Script include through the UI Page Client Script:
Script Include "TestClientServerCommunication":
UI Page in action:
I made sure the Script Include was Client Callable and active and tried out different ways of Calling it through GlideAjax ("user.APIName" vs. "APIName"), but I still couldn't get it to work. I assume I still didn't configure Access correctly or maybe this is a restriction because I'm still using the Demo.
I hope someone has a solution to this and can help me out.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2024 07:11 AM
Your client script is like
It shouldbe like this for client callable
Try this let me know if you have any issue or mark this helpful if it works for you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2024 07:11 AM
Your client script is like
It shouldbe like this for client callable
Try this let me know if you have any issue or mark this helpful if it works for you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2024 11:21 PM
Thanks!
After I applied the code Like you showed I didn't get the No Response From Server Message anymore, but then had an error regarding the Response in the console. Switching from getXMLAnswer to getXML in my Code solved this issue aswell.
Now it works as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2024 05:43 AM
Great