- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2015 12:28 PM
I'm setting up a UI Action where I'll only click "List Choice". It seems like the action is run once per item chosen. What I'm looking for instead is a way to get all of the items chosen and then pass that complete list over to a UI Page.
Is that possible?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2015 08:05 PM
Ah, my bad. It's available in the UI Action condition, but not the script area.
Try this:
var uri = action.getGlideURI();
var parmID = uri.get('sysparm_checked_items');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2015 08:29 AM
Cory,
It looks like you're using a client side action, and I believe OP is referring to a Server side action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2015 04:26 PM
I get an error saying g_list is not defined.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2015 05:25 PM
Hi Scott,
Did you resolve the script executing once for each item checked? I'm facing the same issue.
Thanks!