- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 09:21 PM
I want to filter a variable with other variable in a catalog item but I try to filter with current.variables in the reference qual but "current" does not work.
The system log show me that message:
com.glide.script.RhinoEcmaError: "current" is not defined.
<refname> : Line(1) column(0)
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 10:25 PM
you need to write javascript: at starting only and then call a script include which returns query as string or write string in same field.
Example:
javascript: "nameIN" + getTableExtensions() + "^element=category";
Thanks,
Ali
Thank you,
Ali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 10:19 PM
Hello @Community Alums
Where are you writing the script? also can you post your script here?
Thanks,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 08:09 AM
I created a variables in a variables set and I want filter the Subcategorization variable with the categorization variable
Categorization:
Subcategorization:
and I used the reference qual but current.variables does not work
gs.info is just to see what happened with the variable

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 10:25 PM
you need to write javascript: at starting only and then call a script include which returns query as string or write string in same field.
Example:
javascript: "nameIN" + getTableExtensions() + "^element=category";
Thanks,
Ali
Thank you,
Ali