Regarding Contact type of now mobile app

Nivedha Y
Tera Expert

Is there any OOB value that can be used to map Contact Type? How can we map contact type of incident or SR that are created using Mobile app?

1 ACCEPTED SOLUTION

 

Do one thing 

 

Create a catalog client script with the below code:-

 

var link= top.location.href;

 

Populate this value in the new variable(keep that hidden on the catalog form) now this above piece of code will only run in portal and not in you mobile so if the field return empty you know it is from mobile and map the contact type as Phone and if it comes as populated it is from Portal.

 

Please mark answer correct/helpful based on Impact

 

View solution in original post

7 REPLIES 7

 

Do one thing 

 

Create a catalog client script with the below code:-

 

var link= top.location.href;

 

Populate this value in the new variable(keep that hidden on the catalog form) now this above piece of code will only run in portal and not in you mobile so if the field return empty you know it is from mobile and map the contact type as Phone and if it comes as populated it is from Portal.

 

Please mark answer correct/helpful based on Impact

 

H_9
Giga Guru

Following are the OOTB choices available:

H_9_0-1664946093988.png

You can use "Phone" if it is not used in your instance yet. Else you can create a new choice "Mobile App" and map it.

Following link my help you with the customizations related to incident creation from mobile.

https://www.servicenow.com/community/mobile-apps-platform-articles/now-mobile-url-applet-example-vir...

 

Thanks. 🙂

Thank you. But my question is how to identify the ticket whether it is created from mobile app or from portal or from virtual agent?