Identify if a request is being opened from web or mobile app

Ruchika Thukral
Kilo Explorer

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.

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

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

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

Community Alums
Not applicable

Hi @Ruchika Thukral ,

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