I want to populate the multiple values into the order guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2024 11:32 PM
In table level i have field. Field name is Area this is choice field .For example Area is gas station selected . in table level it showing
I want to populate the this values into values into order guide
but here showing empty .please see the below script
I want to populate same thing
Script include:
client callable is true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 03:11 AM
Since the parameter contains the department name, uncomment the var department line and correct it to use the same this.getParameter name as you used in the Client Script addParam:
var department = this.getParameter('sysparm_value');
Or if this is the u_area value on your custom table, use it in that addQuery line instead as long as the values agree - a text string in this case. If you checked the Client callable box after the script existed, it may not have add the extended object, so make sure the first two lines, before your function looks like this:
var GetBulkRequestItems = Class.create();
GetBulkRequestItems.prototype = Object.extendsObject(AbstractAjaxProcessor, {
If you're still not getting the expected alerts, add some gs.info or gs.addInfoMessage lines to the Script Include to confirm it is running, the value passed in from the client, and to see if any records are retrieved by the GlideRecord then you will see where it is going wrong.