List collector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 01:21 PM - edited 03-10-2024 01:22 PM
Hello developers, based on variable on catalog item, i need to populate choices of list collector in catalog form.
from above table based on systeminfo( form) selected listdata field whch is list collector on form has to get choice.
Any help is appreciated . Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 11:16 PM
I see. You'll need to set the Reference qualifier to achieve it.
Sample below.
javascript:'system_info=' + current.variables.system_info;
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 08:54 AM
Hello @Tai Vu : the variable list collector should depend on two columns system and systeminfo. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 09:01 PM
There you go!
javascript:'system=' + current.variables.system + '^system_info=' + current.variables.system_info
Make sure to replace the variable name and field name by yours.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 11:24 PM - edited 03-11-2024 11:25 PM
@servicenow14710 : Make use of Reference qualifier with following code for achieving the values in your list collector:
javascript:’system_info=‘ + current.variables.variablename;