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

Saurav11
Kilo Patron
Kilo Patron

We have a contact type "Phone" which you can use when creating Incidents from Mobile app

 

Saurav11_0-1664945850707.png

 

Please mark answer correcr/helpful based on Impact

Nivedha Y
Tera Expert

Hi Saurav,

 

Thanks for your revert. Is there any way to identify the ticket is raised from mobile app? how can we able to identify it and map the contact type?

 

Regards,

Nivedha

Hello OOB the below is the record producer which is used on mobile app to create incident. Sysid of the OOB record producer is 3f1dd0320a0a0b99000a53f7604a2ef9

 

Saurav11_0-1664946672394.png

 

 

Over there just create a new variable contact type and give the default value to phone it will do the job for you that whenever the record is created from mobile app it will set a mobile app

 

Saurav11_1-1664946765724.png

 

 

Please mark answer correct/helpful based on Impact

Hi Saurav,

Thanks Again.

Since we are using same record producer in Portal and Mobile App, If we set the default value of Contact type to "Phone" in the respective record producer, then it will be the same for portal also (i.e., whenever the ticket is raised from portal then the contact type will set to "Phone"(default value in record producer).

 

Kind Regards,

Nivedha