Identify if a request is being opened from web or mobile app
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2022 11:16 PM
My organization has the requirement that some catalog items with few fields should be opened through app only, with an alert displayed whenever that item is opened on web. How do I identify if the item is being opened from the web. I can create a client script for that condition that display the alert and disable the fields if the item is opened on web.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2022 11:24 PM
Hi,
you can run client script with UI Type - Desktop
It means it would run only for Desktop/web and not for Mobile
Regards
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
‎05-11-2022 11:27 PM
Hi
This thread should help you :https://community.servicenow.com/community?id=community_question&sys_id=cd5bef90db329450a08a1ea66896...
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep