Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2018 09:07 AM
I need to add a multi select field(which lists values from a table) to a UI page and based on the values populate list of records. How can I add the multi select?
Solved! Go to Solution.
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2018 10:47 PM
Hey,
You can use g:ui_slushbucket
Here is a snippet on how you can use it:
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<g:evaluate jelly="true">
var v_user = new GlideRecord('sys_user');
v_user.query();
</g:evaluate>
<div>
<g:ui_slushbucket name="sb" left_header="Left Side" right_header="Right Side">
<j:while test="${v_user.next()}">
<option value="${v_user.sys_id}" title="${v_user.name}"> ${v_user.name} </option>
</j:while>
</g:ui_slushbucket>
</div>
</j:jelly>
Result:
Mark this as Helpful and Correct if it was.
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2018 10:47 PM
Hey,
You can use g:ui_slushbucket
Here is a snippet on how you can use it:
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<g:evaluate jelly="true">
var v_user = new GlideRecord('sys_user');
v_user.query();
</g:evaluate>
<div>
<g:ui_slushbucket name="sb" left_header="Left Side" right_header="Right Side">
<j:while test="${v_user.next()}">
<option value="${v_user.sys_id}" title="${v_user.name}"> ${v_user.name} </option>
</j:while>
</g:ui_slushbucket>
</div>
</j:jelly>
Result:
Mark this as Helpful and Correct if it was.