- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 10:06 AM
@Allen Andreas @Ankur Bawiskar @Basheer @Chuck Tomasi @SatyakiBose @Community Alums
Hi All,
I came across a scenario which I never seen and not sure how to achieve this. If you have any idea please share you thoughts
I have a order guide with 2 variables requested for reference to user table and other single line text variable.
I have 5 rule bases as 5 cat items
in cat item 1 I have multiple variables in that one is Location variable
Now based on user selected in order guide requested for I want to filter location field records.
Any thoughts how I can get order guide requested_for to location reference qualifier?
I have script include ready which is working just need to pass selected user.
I have tried javascript: new userDetailsUtil().getDetails(current.variable.requested_for);
Bharath Chintala
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 12:16 PM
Hi,
Would you have a user reference field on the catalog item (not the guide)? If so, you'd pass the value, via the ruleset to that catalog item taking the value from the order guide. From there, you'd have the user and can then look at their location, etc.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 03:42 PM
As far as I know, the only way you can do this is by resorting to variable cascading.
This means the same variables will be defined on both the order guide and the catalog items included.
The values entered on the order guide will be copied to the variables in each Catalog Item.
You can hide or show the variables to which the copying is done on the Catalog Items as needed using UI Policies.
Of course than on each Catalog Item you can build the reference qualifier as usual using only local variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 07:32 PM
@-O- @Allen Andreas thanks for those ideas with your ideas I have created new variable in cat item and using item variable assignments in rule base. I have passed the value to item from order guide.
Thank you once again for that idea.
My thinking was onchange client script on order guide and call script include and trigger event
in item reference qualifier call script include check event parameter to pull id. But with your idea I am able achieve this with extra variable.
Bharath Chintala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 11:16 AM
@Allen Andreas I will try like you said and let you know. Thanks for clarifying.
Bharath Chintala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 03:42 PM
As far as I know, the only way you can do this is by resorting to variable cascading.
This means the same variables will be defined on both the order guide and the catalog items included.
The values entered on the order guide will be copied to the variables in each Catalog Item.
You can hide or show the variables to which the copying is done on the Catalog Items as needed using UI Policies.
Of course than on each Catalog Item you can build the reference qualifier as usual using only local variables.