- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2025 11:20 PM - last edited 2 weeks ago
Autopopulate Fields in Mobile Input Form
Key points covered:
- How to use Mobile Callable Script Includes
- Autopopulating fields in Mobile Input Form
Use Case:
Populate default Assignment Group in of the Field in Mobile Input form.
Steps to Implement:
1. Create a Script Include and Mark it as Mobile Callable.
var MobileUtils = Class.create();
MobileUtils.prototype = {
initialize: function() {},
populateDefaultAssignmentGroup: function() {
var assignmentGroup = gs.getProperty('service.desk.group'); //Storing sys_id of deafult group in system property
return {
"Value": assignmentGroup.toString(),
"DisplayValue": "IT Service Desk"
};
},
type: 'MobileUtils'
};
2. Create Assignment Group Variable and set variable type to Scripted
4. Create Assignment Group Input field, in that under Autofill variable select the above Assignment group variable
Solved! Go to Solution.
- 680 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2025 04:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2025 04:50 AM
Please mark this as helpful if it resolves your issue.
