- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2022 09:11 PM
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2022 06:26 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2022 09:57 PM
We have a contact type "Phone" which you can use when creating Incidents from Mobile app
Please mark answer correcr/helpful based on Impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2022 10:02 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2022 10:14 PM
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
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
Please mark answer correct/helpful based on Impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2022 06:00 AM
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