- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2023 01:01 AM - edited ‎11-27-2023 02:22 AM
hello everyone
i have a problem, i have a catalog item with inside it a Variable Set named Requestor Details which in turn contains a Reference type variable called user_name.
always the item catalog has a variable of type List Collector called user_groups where in the Reference qualifier I execute the function
javascript=functional_group();
which calls a Script_include functional_group().
the question is how do i get the contents of user_name?
i have tried directly with current.variables.user_name(), current.variables.user_name.getDisplayValue() and current.variables.user_name.getValue() but they don't work i think because first you have to specify that the variable is contained in the Variable Set Requestor Details.
i can't use the Catalog Client Scripts and i can't see the logs either.
thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2023 01:18 AM - edited ‎11-27-2023 01:18 AM
Have you tried current.variables.user_name, without brackets () after user_name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2023 01:18 AM - edited ‎11-27-2023 01:18 AM
Have you tried current.variables.user_name, without brackets () after user_name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2023 01:55 AM - edited ‎11-27-2023 03:37 AM
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2023 02:18 AM - edited ‎11-27-2023 03:42 AM
Yes, I confirm that it works in the correct way