The CreatorCon Call for Content is officially open! Get started here.

Multiple selection in catalog

Vibhor
Tera Contributor

Hi,

There is one variable in catalog and that is referring to cmdb_ci --- OS name i.e choice table which is having more than 100 choices.

So now if I want to have multiple selection of choice done at same time and transfer all of the choices selected to one of the new CI created and store all choices selected in that table choice value field ,So how this can be performed.

Thanks

Vibhor

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Vibhor,



Why not create it as slushbucket i.e. list collector so that user can select multiple values.


After selecting multiple values what is further requirement.


Do you want to fetch the values selected and insert them in some table.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,



But list collector ask for table name not for choice field of that table.



Because i have choice values under cmdb_ci table.



And when the multiple selection   is done in catalog then I want to store all of them in some other choice table field.



Thanks


Vibhor


Hi Vibhor,



Got it.


So why not create a custom table to store the choices with same name and have list collector reference to this new table.


In this way you can allow user to select multiple options and then perform necessary steps in server side script.



Regards


Ankur


Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Shamma Negi
Kilo Sage
Kilo Sage

I agree with Ankur.


On catalog it is better to have a slushbucket for multiple selection.


I was suing the slush bucket in my record producer for selecting server and that was referring to cmdb_ci_server table.



The same you can impement with your table name.



Regards,


Shamma


Regards,Shamma Negi