Creating a "slush bucket UI page" with list of users which is viewed after clicking on UI action button whilst data chosen in the slush bucket further used

Milan13
Giga Expert

Hello,

I have a UI action button on the incident form - I need something like below slush bucket to be viewed after the button is clicked using UI page for choosing users which will probably be placed in an array and this array will be used in a notification as an array of recipients.

I want to used GlideDialogForm in my UI action script - I now how to get the incident record ID to tie this "slus bucket data" to particular incident using g_form.getUniqueValue();

This may sound complicated so further questions are welcome.

Thanks a lot for any help,

Milan

find_real_file.png

 

1 ACCEPTED SOLUTION

AbhishekGardade
Giga Sage

Hello Milan,

1. Go to the link: Add a Slush Bucket Control to a Dialog Box

2. Download the XML and upload it to your instance.

3. Customize as you needed.

Please mark as Correct Answer/Helpful, if applicable.
Thanks!
Abhishek Gardade

Thank you,
Abhishek Gardade

View solution in original post

6 REPLIES 6

Thanks I will definitely go through this..Milan

Hi Milan,

If my response helped you please mark correct answer to close this thread.

Cheers.

Hi Omkar,

I tried this however I have problems to make it function even if I exactly follow the steps.

Once I press the UI action button "Dialog Slushbucket" it just does not react at all.

I also have my own UI action (not sure if correct one) but it generates an error...

After the error the slush bucket kind of works but after clicking "Submit" button of the slush buckt the same error appears again...

Not so advanced in front end Servicenow coding to be honest...

Anyway thanks for your help.

Milan

"My own" UI action:

function emailChoice(){

var uiPage = 'SlushBucketDialog';
var sysID = g_form.getUniqueValue();
var tableName = g_form.getTableName();


var dialog = new GlideDialogForm('Send e-mail to recipients', uiPage);

dialog.setSysID(sysID); 

dialog.render();
}

find_real_file.png

 

find_real_file.png