Dynamic Filter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 12:04 PM
Hi,
I would like to know how to make a dynamic filter for the following situation:
If the requester's location is x or y or z, options a and b of the variable U appear.
I don't have a good knowledge of scripting, hence the request for help.
Tks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 12:36 PM
Hi there,
Is this for a catalog item?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 12:43 PM
Hi,
This is for a variable set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 01:40 PM - edited 08-17-2023 01:43 PM
Try this.
An example:
In your UI Policies you can respond to value changes with script by switching to the Advanced view and checking Run Scripts. Test these policies carefully.
You may want to check your policy's on Load box also, and consider using an onLoad client script.
I don't remember if the variable's being in a variable set affects what you pass for fieldName.
If the options are to be based on the requestor's location, and the requestor is known in advance, look for a way to do this on the server side and avoid client scripting.