How to create Multi Select variable on a catalog Item and add/remove options dynamically.

Padma17
Tera Contributor

How to create Multi Select variable on a catalog Item and add/remove options dynamically. 

We have a requirement to create multi select field on the catalog form, and the options of this field depend on the selection of two other fields. 

I've found there is a List Collector type which I could reference to a table and use it, but using this will show all the records in the table but my requirement is to limit the choices based on the selections of other two fields.

Please help.

Thanks.

 

8 REPLIES 8

Jaspal Singh
Mega Patron
Mega Patron

Hi Padma,

 

Did you check 'List' type field. Something that is used for watchlist. Also, you can use reference qualifers to restrict the number of records.

Priyanka Chandr
Mega Guru

Hi,

Please have a look that might help you

https://www.servicenowguru.com/scripting/client-scripts-scripting/removing-disabling-choice-list-opt...

Kindly mark it correct and helpful if applicable.

Thanks,

Priyanka

Padma17
Tera Contributor

Jaspal -

I've found there is a List Collector type which I could reference to a table and use it, but using this will show all the records in the table but my requirement is to limit the choices based on the selections of other two fields.

Priyanka - 

That didn't help. Requirement is to create multi select field on the catalog form, and the options of this field depend on the selection of two other fields. 

Thanks.

Yes, limiting is possible by use of Reference qualifiers.