- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 11:42 AM - edited 10-23-2023 11:56 AM
Our catalog creation team has done some good work in setting up a variable set to collect basic information for a request that can be used over multiple catalog items.
The down side is one of the variables (requested for) is part of that set. In using that variable set, I want to be able to use that variable of the variable set to set filters in other fields specific to the request being filled out, such as a listing of computers assigned to the person that is the target of the request. As it is now, the user of this catalog task will have to select the target user a second time for me to be able to capture that to use in a reference qualifier. Is there a way to use data collected in a variable set?
EDIT: also is it possible to use data from a variable set to auto-populate another field.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 01:28 PM
Hi Jason,
If you're referring to requested_for being in a single row variable set, it's treated just the same as if it weren't in Catalog Client Scripts (g_form.getValue('var_name')) and reference qualifiers (current.var_name). If you are auto-populating via the new (Utah) tab in the variable, you will not see this variable in the Dependent field list until Vancouver. See a work-around in this post
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 01:28 PM
Hi Jason,
If you're referring to requested_for being in a single row variable set, it's treated just the same as if it weren't in Catalog Client Scripts (g_form.getValue('var_name')) and reference qualifiers (current.var_name). If you are auto-populating via the new (Utah) tab in the variable, you will not see this variable in the Dependent field list until Vancouver. See a work-around in this post
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 05:24 PM
Thanks Brad! I thought that the variable set would add a layer to the dot walk, since they were not showing in the Dependent field. I was trying to have the variable set name in that, which apparently is not needed. 🙂
For the auto-populate, I ended up (with some help from one of our devs) using a client script, since I just wanted the value selected in the variable set to be used for other auto populate info based on its value. (ie, the user selected. I could then get information around that user such as assigned equipment and such).