- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2020 07:48 PM
Hello everyone,
Is it possible to use client scripts in the Agent mobile app? I tried creating a client script and marked the UI Type as ALL, but this doesnt work on the Agent app.
So does client script work on Agent app? is there any other way that this can be done. For example, if i change the value of a field then a confirm box should appear, will this requirement possible in the Agent app?
Regards,
Dinesh N
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2020 09:56 PM
Hello Naga,
Native mobile apps (Agent/Now/Onboarding) doesn't support client script and UI policies. However the catalog item & knowledge article related mobile screens are rendered from mesp portal which supports client scripts.
I created a simple onload client script for Apple Ipad 3 (OOB catalog item) with alert and I have added a quick action to open the item from Agent App and I got alert successfully in Agent app.
Remaining screens of the app are completed based on applets, ui and action parameters etc.., We have mobile UI policies (Screen UI policies) to toggle the field visibility in native mobile apps, but for now the capability of this mobile ui policies are limited like you cant script anything here. Hopefully we have better control on this in future.
Please mark my answer correct/helpful.
Regards,
JAS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2020 09:04 PM
Hi Dinesh,
please go through below links:
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2021 02:32 PM
Hi
You have presented problems with the related variables in the action elements, I want to establish a field in element is transfer order number and in actions a text field that receives the transfer order number but when arriving at the action element it does not create the transfer order line because the action item loses value.
Excellent afternoon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2020 09:56 PM
Hello Naga,
Native mobile apps (Agent/Now/Onboarding) doesn't support client script and UI policies. However the catalog item & knowledge article related mobile screens are rendered from mesp portal which supports client scripts.
I created a simple onload client script for Apple Ipad 3 (OOB catalog item) with alert and I have added a quick action to open the item from Agent App and I got alert successfully in Agent app.
Remaining screens of the app are completed based on applets, ui and action parameters etc.., We have mobile UI policies (Screen UI policies) to toggle the field visibility in native mobile apps, but for now the capability of this mobile ui policies are limited like you cant script anything here. Hopefully we have better control on this in future.
Please mark my answer correct/helpful.
Regards,
JAS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2020 03:09 AM
Thank you so much Joshwa